Browse Source

ztex: Do thread initialization in thread_init rather than thread_prepare

This helps BFGMiner startup faster by initializing them in parallel :)
Luke Dashjr 13 years ago
parent
commit
03cbef7f36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-ztex.c

+ 1 - 1
driver-ztex.c

@@ -409,7 +409,7 @@ struct device_api ztex_api = {
 	.api_detect = ztex_detect,
 	.get_statline_before = ztex_statline_before,
 	.get_api_extra_device_status = get_ztex_api_extra_device_status,
-	.thread_prepare = ztex_prepare,
+	.thread_init = ztex_prepare,
 	.scanhash = ztex_scanhash,
 	.thread_shutdown = ztex_shutdown,
 };