aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/irq.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-08 20:54:31 -0400
committerTony Lindgren <tony@atomide.com>2014-09-11 16:03:30 -0400
commit176da6c766ce3d5d8c88a7afdaefcc5fd6d8afac (patch)
tree54bf6308e1c909395a9da39c9340d7e0ac90b226 /arch/arm/mach-omap2/irq.c
parent051c544010cf089ca6b8a229546bb7ec2950a54d (diff)
arm: omap: irq: make omap_irq_base global
This is in preparation for removing the pointless irq_banks array. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/irq.c')
-rw-r--r--arch/arm/mach-omap2/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index 604a976abf14..ae082c603445 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -68,6 +68,7 @@ static struct omap_irq_bank {
68}; 68};
69 69
70static struct irq_domain *domain; 70static struct irq_domain *domain;
71static void __iomem *omap_irq_base;
71 72
72/* Structure to save interrupt controller context */ 73/* Structure to save interrupt controller context */
73struct omap3_intc_regs { 74struct omap3_intc_regs {
@@ -161,7 +162,6 @@ omap_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num)
161static void __init omap_init_irq(u32 base, int nr_irqs, 162static void __init omap_init_irq(u32 base, int nr_irqs,
162 struct device_node *node) 163 struct device_node *node)
163{ 164{
164 void __iomem *omap_irq_base;
165 unsigned long nr_of_irqs = 0; 165 unsigned long nr_of_irqs = 0;
166 unsigned int nr_banks = 0; 166 unsigned int nr_banks = 0;
167 int i, j, irq_base; 167 int i, j, irq_base;