diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-01-03 17:50:40 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-01-25 21:37:48 -0500 |
commit | 8661fb92045c5710754d450ebb82461fcfa08b65 (patch) | |
tree | b687f8aa0b3a598a16b66433ece34122ce87a6b4 /arch/arm/mach-mmp/ttc_dkb.c | |
parent | 0f55239348aa85021d8bf8b63d84a796fcc142a4 (diff) |
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/ttc_dkb.c')
-rw-r--r-- | arch/arm/mach-mmp/ttc_dkb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index 5ac5d5832e45..4c5fd5bb0c9c 100644 --- a/arch/arm/mach-mmp/ttc_dkb.c +++ b/arch/arm/mach-mmp/ttc_dkb.c | |||
@@ -38,7 +38,7 @@ | |||
38 | * 16 board interrupts -- PCA9575 GPIO expander | 38 | * 16 board interrupts -- PCA9575 GPIO expander |
39 | * 24 board interrupts -- 88PM860x PMIC | 39 | * 24 board interrupts -- 88PM860x PMIC |
40 | */ | 40 | */ |
41 | #define TTCDKB_NR_IRQS (IRQ_BOARD_START + 16 + 16 + 24) | 41 | #define TTCDKB_NR_IRQS (MMP_NR_IRQS + 16 + 16 + 24) |
42 | 42 | ||
43 | static unsigned long ttc_dkb_pin_config[] __initdata = { | 43 | static unsigned long ttc_dkb_pin_config[] __initdata = { |
44 | /* UART2 */ | 44 | /* UART2 */ |
@@ -130,7 +130,7 @@ static struct platform_device *ttc_dkb_devices[] = { | |||
130 | static struct pca953x_platform_data max7312_data[] = { | 130 | static struct pca953x_platform_data max7312_data[] = { |
131 | { | 131 | { |
132 | .gpio_base = TTCDKB_GPIO_EXT0(0), | 132 | .gpio_base = TTCDKB_GPIO_EXT0(0), |
133 | .irq_base = IRQ_BOARD_START, | 133 | .irq_base = MMP_NR_IRQS, |
134 | }, | 134 | }, |
135 | }; | 135 | }; |
136 | 136 | ||