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/include | |
parent | 0f55239348aa85021d8bf8b63d84a796fcc142a4 (diff) | |
download | talos-obmc-linux-8661fb92045c5710754d450ebb82461fcfa08b65.tar.gz talos-obmc-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/include')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/irqs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mmp/include/mach/irqs.h b/arch/arm/mach-mmp/include/mach/irqs.h index 34635a0bbb59..d0e746626a3d 100644 --- a/arch/arm/mach-mmp/include/mach/irqs.h +++ b/arch/arm/mach-mmp/include/mach/irqs.h @@ -223,7 +223,6 @@ #define MMP_GPIO_TO_IRQ(gpio) (IRQ_GPIO_START + (gpio)) #define IRQ_BOARD_START (IRQ_GPIO_START + MMP_NR_BUILTIN_GPIO) - -#define NR_IRQS (IRQ_BOARD_START) +#define MMP_NR_IRQS IRQ_BOARD_START #endif /* __ASM_MACH_IRQS_H */ |