Commit 180230220f4af587f175d06cd0bc2fd7e7804c6c

Con Kolivas 2013-04-05T18:31:20

Rneame avalon_api to avalon_drv.

diff --git a/cgminer.c b/cgminer.c
index edcf9eb..b68bc10 100644
--- a/cgminer.c
+++ b/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
diff --git a/driver-avalon.c b/driver-avalon.c
index 33eae73..5ce4765 100644
--- a/driver-avalon.c
+++ b/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,