From: Zubair Lutfullah Kakakhel Date: Tue, 22 Nov 2016 17:52:38 +0000 (+0000) Subject: MIPS: xilfpga: Use irqchip instead of the legacy way X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=35b258dc24f07d061513d5edba723faf6bf8b387;p=openwrt%2Fstaging%2Fblogic.git MIPS: xilfpga: Use irqchip instead of the legacy way This prepares the code to use the Xilinx Interrupt Controller driver in drivers/irqchip/irq-xilinx-intc.c Signed-off-by: Zubair Lutfullah Kakakhel Cc: Zubair.Kakakhel@imgtec.com Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/14591/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/xilfpga/intc.c b/arch/mips/xilfpga/intc.c index c4d1a716b347..a127cca3ae8c 100644 --- a/arch/mips/xilfpga/intc.c +++ b/arch/mips/xilfpga/intc.c @@ -11,15 +11,12 @@ #include #include +#include #include -static struct of_device_id of_irq_ids[] __initdata = { - { .compatible = "mti,cpu-interrupt-controller", .data = mips_cpu_irq_of_init }, - {}, -}; void __init arch_init_irq(void) { - of_irq_init(of_irq_ids); + irqchip_init(); }