summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/avengers_lite.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-01-03 16:50:40 -0600
committerRob Herring <rob.herring@calxeda.com>2012-01-25 20:37:48 -0600
commit8661fb92045c5710754d450ebb82461fcfa08b65 (patch)
treeb687f8aa0b3a598a16b66433ece34122ce87a6b4 /arch/arm/mach-mmp/avengers_lite.c
parent0f55239348aa85021d8bf8b63d84a796fcc142a4 (diff)
downloadlinux-8661fb92045c5710754d450ebb82461fcfa08b65.tar.bz2
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/avengers_lite.c')
-rw-r--r--arch/arm/mach-mmp/avengers_lite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/avengers_lite.c b/arch/arm/mach-mmp/avengers_lite.c
index b148a9dc5a44..603542ae6fbd 100644
--- a/arch/arm/mach-mmp/avengers_lite.c
+++ b/arch/arm/mach-mmp/avengers_lite.c
@@ -43,6 +43,7 @@ static void __init avengers_lite_init(void)
MACHINE_START(AVENGERS_LITE, "PXA168 Avengers lite Development Platform")
.map_io = mmp_map_io,
+ .nr_irqs = MMP_NR_IRQS,
.init_irq = pxa168_init_irq,
.timer = &pxa168_timer,
.init_machine = avengers_lite_init,