summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-09 02:54:43 +0200
committerTony Lindgren <tony@atomide.com>2014-09-11 22:03:43 +0200
commitb15c76b74896f1a2c60fff13fdf20d07468de323 (patch)
tree79ccf412091a33c9326a2d313b34fd88fa401b36 /arch
parentarm: omap: irq: make intc_of_init static (diff)
downloadlinux-b15c76b74896f1a2c60fff13fdf20d07468de323.tar.xz
linux-b15c76b74896f1a2c60fff13fdf20d07468de323.zip
arm: omap: irq: call set_handle_irq() from intc_of_init
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index fc886e2e0283..ee9f1e810700 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -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;
}