mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 14:58:01 +00:00
Rneame avalon_api to avalon_drv.
This commit is contained in:
parent
71bae003bc
commit
180230220f
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user