aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTony Lindgren2012-09-04 17:43:29 -0700
committerTony Lindgren2012-09-12 18:06:30 -0700
commit3003ce3ecd31b171a99d3693ee89f4640a000e13 (patch)
tree81e4f8e00468ce66ac8c5f5ff15c93943fc015cf /arch/arm
parent936e0f2fd64efbb28444c916814b6232dddac03b (diff)
ARM: OMAP2+: Make INTCPS_NR_IRQS local for mach-omap2/irq.c
Make INTCPS_NR_IRQS local for mach-omap2/irq.c Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/irq.c2
-rw-r--r--arch/arm/plat-omap/include/plat/irqs.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index bcd83db41bbc..ac59f96a489f 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -49,6 +49,8 @@
#define OMAP3_IRQ_BASE OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE)
#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* omap2/3 active interrupt offset */
#define ACTIVEIRQ_MASK 0x7f /* omap2/3 active interrupt bits */
+#define INTCPS_NR_MIR_REGS 3
+#define INTCPS_NR_IRQS 96
/*
* OMAP2 has a number of different interrupt controllers, each interrupt
diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h
index 15f497c2602e..fc3959cdac31 100644
--- a/arch/arm/plat-omap/include/plat/irqs.h
+++ b/arch/arm/plat-omap/include/plat/irqs.h
@@ -440,9 +440,6 @@
#define OMAP_IRQ_BIT(irq) (1 << ((irq) % 32))
-#define INTCPS_NR_MIR_REGS 3
-#define INTCPS_NR_IRQS 96
-
#include <mach/hardware.h>
#ifdef CONFIG_FIQ