From 8e8261eb6a13760665da7595bfcc405193e1982d Mon Sep 17 00:00:00 2001 From: Paul Burton Date: Sun, 24 May 2015 23:37:42 +0100 Subject: MIPS: JZ4740: probe CPU interrupt controller via DT Use the generic irqchip_init function to probe irqchip drivers using DT, and add the appropriate node to the JZ4740 devicetree in place of the call to mips_cpu_irq_init. Signed-off-by: Paul Burton Cc: Ian Campbell Cc: Kumar Gala Cc: Lars-Peter Clausen Cc: Mark Rutland Cc: Pawel Moll Cc: Rob Herring Cc: devicetree@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Cc: Brian Norris Cc: Sergei Shtylyov Patchwork: https://patchwork.linux-mips.org/patch/10166/ Signed-off-by: Ralf Baechle --- arch/mips/jz4740/irq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/mips/jz4740') diff --git a/arch/mips/jz4740/irq.c b/arch/mips/jz4740/irq.c index 97206b3deb97..3ec9087540b4 100644 --- a/arch/mips/jz4740/irq.c +++ b/arch/mips/jz4740/irq.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -27,7 +28,6 @@ #include #include -#include #include #include @@ -84,7 +84,7 @@ void __init arch_init_irq(void) struct irq_chip_generic *gc; struct irq_chip_type *ct; - mips_cpu_irq_init(); + irqchip_init(); jz_intc_base = ioremap(JZ4740_INTC_BASE_ADDR, 0x14); -- cgit v1.2.3