1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-25 14:04:25 +00:00

Rneame avalon_api to avalon_drv.

This commit is contained in:
Con Kolivas 2013-04-05 18:31:20 +11:00
parent 71bae003bc
commit 180230220f
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,