From: Felipe Balbi Date: Tue, 9 Sep 2014 00:54:31 +0000 (-0700) Subject: arm: omap: irq: make omap_irq_base global X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=176da6c766ce3d5d8c88a7afdaefcc5fd6d8afac;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm: omap: irq: make omap_irq_base global This is in preparation for removing the pointless irq_banks array. Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- 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 { }; 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;