summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-09 02:54:52 +0200
committerTony Lindgren <tony@atomide.com>2014-09-11 22:05:39 +0200
commitbe0a768596a204af6f124bffc2588457c18375fd (patch)
treed6aadbee9a1b0311e0d234c2529a9b860ed2dbcd
parentarm: omap: irq: move some more code around (diff)
downloadlinux-be0a768596a204af6f124bffc2588457c18375fd.tar.xz
linux-be0a768596a204af6f124bffc2588457c18375fd.zip
arm: omap: irq: call set_handle_irq() from .init_irq
the idea is that board-files won't need to set .handle_irq on their machine_descs, which lets us drop a little more pointless code. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/irq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index 587def4ef0d7..994009ce6001 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -284,16 +284,19 @@ asmlinkage void __exception_irq_entry omap2_intc_handle_irq(struct pt_regs *regs
void __init omap2_init_irq(void)
{
omap_init_irq(OMAP24XX_IC_BASE, 96, NULL);
+ set_handle_irq(omap2_intc_handle_irq);
}
void __init omap3_init_irq(void)
{
omap_init_irq(OMAP34XX_IC_BASE, 96, NULL);
+ set_handle_irq(omap2_intc_handle_irq);
}
void __init ti81xx_init_irq(void)
{
omap_init_irq(OMAP34XX_IC_BASE, 128, NULL);
+ set_handle_irq(omap2_intc_handle_irq);
}
static int __init intc_of_init(struct device_node *node,