aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2009-12-24 23:18:33 -0500
committerEric Miao <eric.y.miao@gmail.com>2010-03-01 18:40:49 -0500
commit00dd8027b913088ff9b656c5aaa6336c303b7f26 (patch)
tree21953fb8396a002ae0be94d08613019fd6538f9a /arch/arm/mach-sa1100
parentda8065ac3ea29d1bfdb5a163be346fbe35066f8d (diff)
[ARM] locomo: remove unused IRQs and avoid unnecessary cascade
IRQ_LOCOMO_* are never used elsewhere, remove these definitions. As well as the cascade of these IRQs. IRQ_LOCOMO_*_BASE changed to IRQ_LOCOMO_*. IRQ_LOCOMO_LT and IRQ_LOCOMO_SPI are likely to be used in a same way as IRQ_LOCOMO_KEY. IRQ_LOCOMO_GPIO and the demultiplex handler should really be living somewhere else. Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-sa1100')
-rw-r--r--arch/arm/mach-sa1100/include/mach/irqs.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/arch/arm/mach-sa1100/include/mach/irqs.h b/arch/arm/mach-sa1100/include/mach/irqs.h
index 9731c7814a32..40d3382218f0 100644
--- a/arch/arm/mach-sa1100/include/mach/irqs.h
+++ b/arch/arm/mach-sa1100/include/mach/irqs.h
@@ -120,29 +120,6 @@
120#define IRQ_S0_BVD1_STSCHG (IRQ_BOARD_END + 53) 120#define IRQ_S0_BVD1_STSCHG (IRQ_BOARD_END + 53)
121#define IRQ_S1_BVD1_STSCHG (IRQ_BOARD_END + 54) 121#define IRQ_S1_BVD1_STSCHG (IRQ_BOARD_END + 54)
122 122
123#define IRQ_LOCOMO_START (IRQ_BOARD_END)
124#define IRQ_LOCOMO_GPIO0 (IRQ_BOARD_END + 1)
125#define IRQ_LOCOMO_GPIO1 (IRQ_BOARD_END + 2)
126#define IRQ_LOCOMO_GPIO2 (IRQ_BOARD_END + 3)
127#define IRQ_LOCOMO_GPIO3 (IRQ_BOARD_END + 4)
128#define IRQ_LOCOMO_GPIO4 (IRQ_BOARD_END + 5)
129#define IRQ_LOCOMO_GPIO5 (IRQ_BOARD_END + 6)
130#define IRQ_LOCOMO_GPIO6 (IRQ_BOARD_END + 7)
131#define IRQ_LOCOMO_GPIO7 (IRQ_BOARD_END + 8)
132#define IRQ_LOCOMO_GPIO8 (IRQ_BOARD_END + 9)
133#define IRQ_LOCOMO_GPIO9 (IRQ_BOARD_END + 10)
134#define IRQ_LOCOMO_GPIO10 (IRQ_BOARD_END + 11)
135#define IRQ_LOCOMO_GPIO11 (IRQ_BOARD_END + 12)
136#define IRQ_LOCOMO_GPIO12 (IRQ_BOARD_END + 13)
137#define IRQ_LOCOMO_GPIO13 (IRQ_BOARD_END + 14)
138#define IRQ_LOCOMO_GPIO14 (IRQ_BOARD_END + 15)
139#define IRQ_LOCOMO_GPIO15 (IRQ_BOARD_END + 16)
140#define IRQ_LOCOMO_LT (IRQ_BOARD_END + 17)
141#define IRQ_LOCOMO_SPI_RFR (IRQ_BOARD_END + 18)
142#define IRQ_LOCOMO_SPI_RFW (IRQ_BOARD_END + 19)
143#define IRQ_LOCOMO_SPI_REND (IRQ_BOARD_END + 20)
144#define IRQ_LOCOMO_SPI_TEND (IRQ_BOARD_END + 21)
145
146/* 123/*
147 * Figure out the MAX IRQ number. 124 * Figure out the MAX IRQ number.
148 * 125 *
@@ -153,7 +130,7 @@
153#ifdef CONFIG_SA1111 130#ifdef CONFIG_SA1111
154#define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1) 131#define NR_IRQS (IRQ_S1_BVD1_STSCHG + 1)
155#elif defined(CONFIG_SHARP_LOCOMO) 132#elif defined(CONFIG_SHARP_LOCOMO)
156#define NR_IRQS (IRQ_LOCOMO_SPI_TEND + 1) 133#define NR_IRQS (IRQ_LOCOMO_SPI + 1)
157#else 134#else
158#define NR_IRQS (IRQ_BOARD_START) 135#define NR_IRQS (IRQ_BOARD_START)
159#endif 136#endif