summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-08 17:54:46 -0700
committerTony Lindgren <tony@atomide.com>2014-09-11 13:05:33 -0700
commita35db9a4cb800f343cd4bbfeeb6568807a16aad8 (patch)
treec0b3d96901ab0807a3b35458fa61996fef7dcea2 /arch/arm/mach-omap2
parente66c49b515aa4cbd621a4844f980ff487327aa7d (diff)
arm: omap: irq: add specific compatibles for omap3 and am33xx devices
with this, we can use a compatible flag to figure out how many irq lines are wired up, no need for our TI-specific ti,intc-size binding. Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/irq.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index 465d7257056a..97845df61030 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -320,7 +320,9 @@ static int __init intc_of_init(struct device_node *node,
return 0;
}
-IRQCHIP_DECLARE(omap_intc, "ti,omap2-intc", intc_of_init);
+IRQCHIP_DECLARE(omap2_intc, "ti,omap2-intc", intc_of_init);
+IRQCHIP_DECLARE(omap3_intc, "ti,omap3-intc", intc_of_init);
+IRQCHIP_DECLARE(am33xx_intc, "ti,am33xx-intc", intc_of_init);
asmlinkage void __exception_irq_entry omap3_intc_handle_irq(struct pt_regs *regs)
{