Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933914AbcKVRyL (ORCPT ); Tue, 22 Nov 2016 12:54:11 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:54708 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755492AbcKVRwu (ORCPT ); Tue, 22 Nov 2016 12:52:50 -0500 From: Zubair Lutfullah Kakakhel To: CC: , , Subject: [PATCH 1/6] MIPS: xilfpga: Use irqchip instead of the legacy way Date: Tue, 22 Nov 2016 17:52:38 +0000 Message-ID: <20161122175243.8853-2-Zubair.Kakakhel@imgtec.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161122175243.8853-1-Zubair.Kakakhel@imgtec.com> References: <20161122175243.8853-1-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.45] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 32 This prepares the code to use the Xilinx Interrupt Controller driver in drivers/irqchip/irq-xilinx-intc.c Signed-off-by: Zubair Lutfullah Kakakhel --- arch/mips/xilfpga/intc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/mips/xilfpga/intc.c b/arch/mips/xilfpga/intc.c index c4d1a71..a127cca 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(); } -- 2.10.2