Browse Source

Rneame avalon_api to avalon_drv.

Con Kolivas 13 years ago
parent
commit
180230220f
2 changed files with 3 additions and 3 deletions
  1. 2 2
      cgminer.c
  2. 1 1
      driver-avalon.c

+ 2 - 2
cgminer.c

@@ -6814,7 +6814,7 @@ extern struct device_drv icarus_drv;
 #endif
 
 #ifdef USE_AVALON
-extern struct device_drv avalon_api;
+extern struct device_drv avalon_drv;
 #endif
 
 #ifdef USE_MODMINER
@@ -7338,7 +7338,7 @@ int main(int argc, char *argv[])
 
 #ifdef USE_AVALON
 	if (!opt_scrypt)
-		avalon_api.drv_detect();
+		avalon_drv.drv_detect();
 #endif
 
 #ifdef USE_BFLSC

+ 1 - 1
driver-avalon.c

@@ -1046,7 +1046,7 @@ static void avalon_shutdown(struct thr_info *thr)
 	do_avalon_close(thr);
 }
 
-struct device_drv avalon_api = {
+struct device_drv avalon_drv = {
 	.dname = "avalon",
 	.name = "AVA",
 	.drv_detect = avalon_detect,