From: Felipe Balbi Date: Tue, 9 Sep 2014 00:54:46 +0000 (-0700) Subject: arm: omap: irq: add specific compatibles for omap3 and am33xx devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a35db9a4cb800f343cd4bbfeeb6568807a16aad8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Tony Lindgren --- 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) {