summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Murphy <patrick.muprphy@multitech.com>2021-02-02 06:38:27 -0600
committerPatrick Murphy <patrick.muprphy@multitech.com>2021-02-02 06:38:27 -0600
commitdcd80b7021fca5a52f15492e861f9d872d59e49b (patch)
treee4076ac91dc676207e10eddaf3811728816d5a65
parent6e2f486653ea1fd6f4cba998e5a3119c51f6fc6e (diff)
downloadmtac-dcd80b7021fca5a52f15492e861f9d872d59e49b.tar.gz
mtac-dcd80b7021fca5a52f15492e861f9d872d59e49b.tar.bz2
mtac-dcd80b7021fca5a52f15492e861f9d872d59e49b.zip
simplified slow count behavior
-rw-r--r--mtac.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/mtac.h b/mtac.h
index 4581c07..8b5b09d 100644
--- a/mtac.h
+++ b/mtac.h
@@ -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