diff options
Diffstat (limited to 'mtac.h')
-rw-r--r-- | mtac.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -6,17 +6,11 @@ // it should be set to the value of CONFIG_MTS_NUM_ACCESSORY_PORTS // arch/arm/mach-at91/board-dt-sam9.c // if it is 0 or undefined, there is no accessory card support on this HW -#ifdef mtcpmhs -#define NUM_BUILT_IN 1 - -#else -#define NUM_BUILT_IN 0 -#endif #ifdef CONFIG_MTS_NUM_ACCESSORY_PORTS #ifndef NUM_AP -#define NUM_AP CONFIG_MTS_NUM_ACCESSORY_PORTS + NUM_BUILT_IN +#define NUM_AP CONFIG_MTS_NUM_ACCESSORY_PORTS #endif #else @@ -63,9 +57,7 @@ enum { enum ap { port_1 = 1, port_2, -#ifdef mtcpmhs port_3, -#endif }; // info for accessory port |