diff --git a/tools/lib/atrf.c b/tools/lib/atrf.c index a9b8f33..5a9ebca 100644 --- a/tools/lib/atrf.c +++ b/tools/lib/atrf.c @@ -21,10 +21,6 @@ #include "atrf.h" -extern struct atrf_driver atusb_driver; -extern struct atrf_driver atben_driver; - - struct atrf_dsc { const struct atrf_driver *driver; void *handle; diff --git a/tools/lib/driver.h b/tools/lib/driver.h index bc88f3c..f562f0d 100644 --- a/tools/lib/driver.h +++ b/tools/lib/driver.h @@ -36,6 +36,10 @@ struct atrf_driver { }; +extern struct atrf_driver atusb_driver; +extern struct atrf_driver atben_driver; + + int atrf_set_clkm_generic( void (*reg_write)(void *dsc, uint8_t reg, uint8_t value), void *handle, int mhz);