aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2010-01-19 09:45:38 -0500
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:49 -0500
commitf3dec78333d6369161eb833dbd8c8f006f359fdf (patch)
tree1e77ad2e38e517f9a74a8f7fa67e1d5fe9e0eb5e /arch/blackfin/mach-common
parent5e8d3210b5bffbe64afca9152241284a46611c7e (diff)
Blackfin: increase NR_IRQS beyond NR on-chip IRQs
This makes room for off-chip IRQ controllers. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index 3589fe8b86ba..ebf886091187 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -1114,7 +1114,7 @@ int __init init_arch_irq(void)
1114#endif 1114#endif
1115 1115
1116 /* if configured as edge, then will be changed to do_edge_IRQ */ 1116 /* if configured as edge, then will be changed to do_edge_IRQ */
1117 for (irq = GPIO_IRQ_BASE; irq < NR_IRQS; irq++) 1117 for (irq = GPIO_IRQ_BASE; irq < NR_MACH_IRQS; irq++)
1118 set_irq_chip_and_handler(irq, &bfin_gpio_irqchip, 1118 set_irq_chip_and_handler(irq, &bfin_gpio_irqchip,
1119 handle_level_irq); 1119 handle_level_irq);
1120 1120