Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 176da6c7 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren
Browse files

arm: omap: irq: make omap_irq_base global



This is in preparation for removing the pointless
irq_banks array.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 051c5440
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;