summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mmp/gplugd.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-04 02:50:40 +0400
committerRob Herring <rob.herring@calxeda.com>2012-01-26 06:37:48 +0400
commit8661fb92045c5710754d450ebb82461fcfa08b65 (patch)
treeb687f8aa0b3a598a16b66433ece34122ce87a6b4 /arch/arm/mach-mmp/gplugd.c
parent0f55239348aa85021d8bf8b63d84a796fcc142a4 (diff)
downloadlinux-8661fb92045c5710754d450ebb82461fcfa08b65.tar.xz
ARM: mmp: remove NR_IRQS
Remove NR_IRQS and add a per machine .nr_irqs setting. Clean-up namespace replacing usage of IRQ_BOARD_START with MMP_NR_IRQS. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'arch/arm/mach-mmp/gplugd.c')
-rw-r--r--arch/arm/mach-mmp/gplugd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c
index 87765467de63..f516e74ce0d5 100644
--- a/arch/arm/mach-mmp/gplugd.c
+++ b/arch/arm/mach-mmp/gplugd.c
@@ -191,7 +191,7 @@ static void __init gplugd_init(void)
MACHINE_START(GPLUGD, "PXA168-based GuruPlug Display (gplugD) Platform")
.map_io = mmp_map_io,
- .nr_irqs = IRQ_BOARD_START,
+ .nr_irqs = MMP_NR_IRQS,
.init_irq = pxa168_init_irq,
.timer = &pxa168_timer,
.init_machine = gplugd_init,