diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-01-03 16:50:40 -0600 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-01-25 20:37:48 -0600 |
commit | 8661fb92045c5710754d450ebb82461fcfa08b65 (patch) | |
tree | b687f8aa0b3a598a16b66433ece34122ce87a6b4 /arch/arm/mach-mmp/teton_bga.c | |
parent | 0f55239348aa85021d8bf8b63d84a796fcc142a4 (diff) | |
download | linux-8661fb92045c5710754d450ebb82461fcfa08b65.tar.gz linux-8661fb92045c5710754d450ebb82461fcfa08b65.tar.bz2 linux-8661fb92045c5710754d450ebb82461fcfa08b65.zip |
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/teton_bga.c')
-rw-r--r-- | arch/arm/mach-mmp/teton_bga.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c index 0523e422990e..42bef6674ecf 100644 --- a/arch/arm/mach-mmp/teton_bga.c +++ b/arch/arm/mach-mmp/teton_bga.c @@ -26,6 +26,7 @@ #include <mach/mfp-pxa168.h> #include <mach/pxa168.h> #include <mach/teton_bga.h> +#include <mach/irqs.h> #include "common.h" @@ -83,7 +84,7 @@ static void __init teton_bga_init(void) MACHINE_START(TETON_BGA, "PXA168-based Teton BGA Development 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 = teton_bga_init, |