diff options
author | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-02-02 06:38:27 -0600 |
---|---|---|
committer | Patrick Murphy <patrick.muprphy@multitech.com> | 2021-02-02 06:38:27 -0600 |
commit | dcd80b7021fca5a52f15492e861f9d872d59e49b (patch) | |
tree | e4076ac91dc676207e10eddaf3811728816d5a65 | |
parent | 6e2f486653ea1fd6f4cba998e5a3119c51f6fc6e (diff) | |
download | mtac-dcd80b7021fca5a52f15492e861f9d872d59e49b.tar.gz mtac-dcd80b7021fca5a52f15492e861f9d872d59e49b.tar.bz2 mtac-dcd80b7021fca5a52f15492e861f9d872d59e49b.zip |
simplified slow count behavior
-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 |