Commit 92bf971f20adad3e9a30eb4bc7a2bf78d95ed47d

Con Kolivas 2014-02-26T23:31:49

Use usb_detect_one in the hfa driver.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 033ed97..465eaae 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -836,7 +836,7 @@ static void hfa_detect(bool __maybe_unused hotplug)
 	/* Set up the CRC tables only once. */
 	if (!hfa_crc8_set)
 		hfa_init_crc8();
-	usb_detect(&hashfast_drv, hfa_detect_one);
+	usb_detect_one(&hashfast_drv, hfa_detect_one);
 }
 
 static bool hfa_get_packet(struct cgpu_info *hashfast, struct hf_header *h)