Browse Source

Merge commit 'db83f2f' into hotplug2

Luke Dashjr 12 years ago
parent
commit
8bb7bc1378
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-avalon.c

+ 1 - 1
driver-avalon.c

@@ -571,7 +571,7 @@ static bool avalon_detect_one(const char *devpath)
 	int baud, miner_count, asic_count, timeout, frequency = 0;
 	int baud, miner_count, asic_count, timeout, frequency = 0;
 	struct cgpu_info *avalon;
 	struct cgpu_info *avalon;
 
 
-	if (serial_claim(devpath, avalon_drv))
+	if (serial_claim(devpath, &avalon_drv))
 		return false;
 		return false;
 	
 	
 	int this_option_offset = ++option_offset;
 	int this_option_offset = ++option_offset;