driver-aan.h 253 B

1234567891011121314
  1. #ifndef BFG_DRIVER_AAN
  2. #define BFG_DRIVER_AAN
  3. #include "lowl-spi.h"
  4. #define AAN_ALL_CHIPS 0
  5. struct aan_hooks {
  6. void (*precmd)(struct spi_port *);
  7. };
  8. extern int aan_detect_spi(int *out_chipcount, struct spi_port * const *spi_a, int spi_n);
  9. #endif