arm: omap: irq: call set_handle_irq() from intc_of_init
authorFelipe Balbi <balbi@ti.com>
Tue, 9 Sep 2014 00:54:43 +0000 (17:54 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Sep 2014 20:03:43 +0000 (13:03 -0700)
this will let us drop .handle_irq and .init_irq fields
from our generic machine_descs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/irq.c

index fc886e2e0283629cb7f6022aa7cffd643b406188..ee9f1e810700476647cf6e5f4c461ee3d9b44376 100644 (file)
@@ -314,6 +314,8 @@ static int __init intc_of_init(struct device_node *node,
 
        omap_init_irq(res.start, nr_irq, of_node_get(node));
 
+       set_handle_irq(omap2_intc_handle_irq);
+
        return 0;
 }