Browse Source

Rneame avalon_api to avalon_drv.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
180230220f
  1. 4
      cgminer.c
  2. 2
      driver-avalon.c

4
cgminer.c

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

2
driver-avalon.c

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

Loading…
Cancel
Save