diff options
Diffstat (limited to 'mtac.h')
-rw-r--r-- | mtac.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,6 @@ #ifndef IO_MODULE_MTAC_H_ #define IO_MODULE_MTAC_H_ - +#include <linux/at91gpio.h> // NUM_AP should be defined from the board code // it should be set to the value of CONFIG_MTS_NUM_ACCESSORY_PORTS // arch/arm/mach-at91/board-dt-sam9.c @@ -89,4 +89,6 @@ extern void mtac_clear_port_pins(int port_index); extern int mtac_find(void(*set_info)(struct ap_info* info), const char *target_product_id); extern struct ap_info *mtac_port_info[]; extern void mtac_free(const char * product_id, bool (* setup)(enum ap port), const char *link); +#define MTS_AP_EEPROM_SIZE (512) +extern uint8_t mts_ap_eeprom[NUM_AP][MTS_AP_EEPROM_SIZE]; #endif /* IO_MODULE_MTAC_H_ */ |