|
|
@@ -1697,7 +1697,7 @@ static void pgaidentify(__maybe_unused SOCKETTYPE c, char *param, bool isjson, _
|
|
|
}
|
|
|
|
|
|
struct cgpu_info *cgpu = devices[dev];
|
|
|
- struct device_api *api = cgpu->api;
|
|
|
+ const struct device_api *api = cgpu->api;
|
|
|
|
|
|
if (api->identify_device && api->identify_device(cgpu))
|
|
|
strcpy(io_buffer, message(MSG_PGAIDENT, id, NULL, isjson));
|