aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/asm-arm/arch-pxa/irqs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-arm/arch-pxa/irqs.h b/include/asm-arm/arch-pxa/irqs.h
index 50c77eacbd5e..b6c8fe377683 100644
--- a/include/asm-arm/arch-pxa/irqs.h
+++ b/include/asm-arm/arch-pxa/irqs.h
@@ -239,7 +239,7 @@
239/* ITE8152 irqs */ 239/* ITE8152 irqs */
240/* add IT8152 IRQs beyond BOARD_END */ 240/* add IT8152 IRQs beyond BOARD_END */
241#ifdef CONFIG_PCI_HOST_ITE8152 241#ifdef CONFIG_PCI_HOST_ITE8152
242#define IT8152_IRQ(x) (IRQ_GPIO(IRQ_BOARD_END) + 1 + (x)) 242#define IT8152_IRQ(x) (IRQ_BOARD_END + (x))
243 243
244/* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */ 244/* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */
245#define IT8152_LD_IRQ_COUNT 9 245#define IT8152_LD_IRQ_COUNT 9
@@ -253,6 +253,9 @@
253 253
254#define IT8152_LAST_IRQ IT8152_LD_IRQ(IT8152_LD_IRQ_COUNT - 1) 254#define IT8152_LAST_IRQ IT8152_LD_IRQ(IT8152_LD_IRQ_COUNT - 1)
255 255
256#if NR_IRQS < (IT8152_LAST_IRQ+1)
256#undef NR_IRQS 257#undef NR_IRQS
257#define NR_IRQS (IT8152_LAST_IRQ+1) 258#define NR_IRQS (IT8152_LAST_IRQ+1)
258#endif 259#endif
260
261#endif /* CONFIG_PCI_HOST_ITE8152 */