mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-17 23:00:38 +02:00
tools/lib/atrf.c: moved declaration of driver operations to driver.h
This commit is contained in:
parent
0b0b5712e8
commit
641567e393
@ -21,10 +21,6 @@
|
|||||||
#include "atrf.h"
|
#include "atrf.h"
|
||||||
|
|
||||||
|
|
||||||
extern struct atrf_driver atusb_driver;
|
|
||||||
extern struct atrf_driver atben_driver;
|
|
||||||
|
|
||||||
|
|
||||||
struct atrf_dsc {
|
struct atrf_dsc {
|
||||||
const struct atrf_driver *driver;
|
const struct atrf_driver *driver;
|
||||||
void *handle;
|
void *handle;
|
||||||
|
@ -36,6 +36,10 @@ struct atrf_driver {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
extern struct atrf_driver atusb_driver;
|
||||||
|
extern struct atrf_driver atben_driver;
|
||||||
|
|
||||||
|
|
||||||
int atrf_set_clkm_generic(
|
int atrf_set_clkm_generic(
|
||||||
void (*reg_write)(void *dsc, uint8_t reg, uint8_t value),
|
void (*reg_write)(void *dsc, uint8_t reg, uint8_t value),
|
||||||
void *handle, int mhz);
|
void *handle, int mhz);
|
||||||
|
Loading…
Reference in New Issue
Block a user