@@ -6370,7 +6370,7 @@ static void noop_reinit_device(struct cgpu_info __maybe_unused *cgpu)
{
}
-static void blank_get_statline_before(char *buf, struct cgpu_info __maybe_unused *cgpu)
+void blank_get_statline_before(char *buf, struct cgpu_info __maybe_unused *cgpu)
tailsprintf(buf, " | ");
@@ -1287,7 +1287,8 @@ static void get_opencl_statline_before(char *buf, struct cgpu_info *gpu)
else
tailsprintf(buf, " ");
tailsprintf(buf, "| ");
- }
+ } else
+ gpu->drv->get_statline_before = &blank_get_statline_before;
#endif
@@ -268,6 +268,8 @@ struct gpu_adl {
};
+extern void blank_get_statline_before(char *buf, struct cgpu_info __maybe_unused *cgpu);
+
struct api_data;
struct thr_info;
struct work;