summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-08 17:54:31 -0700
committerTony Lindgren <tony@atomide.com>2014-09-11 13:03:30 -0700
commit176da6c766ce3d5d8c88a7afdaefcc5fd6d8afac (patch)
tree54bf6308e1c909395a9da39c9340d7e0ac90b226 /arch/arm/mach-omap2
parent051c544010cf089ca6b8a229546bb7ec2950a54d (diff)
downloadop-kernel-dev-176da6c766ce3d5d8c88a7afdaefcc5fd6d8afac.zip
op-kernel-dev-176da6c766ce3d5d8c88a7afdaefcc5fd6d8afac.tar.gz
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')
-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 604a976a..ae082c6 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -68,6 +68,7 @@ static struct omap_irq_bank {
};
static struct irq_domain *domain;
+static void __iomem *omap_irq_base;
/* Structure to save interrupt controller context */
struct omap3_intc_regs {
@@ -161,7 +162,6 @@ omap_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num)
static void __init omap_init_irq(u32 base, int nr_irqs,
struct device_node *node)
{
- void __iomem *omap_irq_base;
unsigned long nr_of_irqs = 0;
unsigned int nr_banks = 0;
int i, j, irq_base;
OpenPOWER on IntegriCloud