arm: omap: irq: call set_handle_irq() from .init_irq
authorFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 00:54:52 +0000 (17:54 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Sep 2014 20:05:39 +0000 (13:05 -0700)
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>
arch/arm/mach-omap2/irq.c

index 587def4ef0d77d42361183ee75fb8a13a5f4fd76..994009ce6001e196da8b7b414718c5b4bcb54af8 100644 (file)
@@ -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,