Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966923AbbBDPZu (ORCPT ); Wed, 4 Feb 2015 10:25:50 -0500 Received: from mailapp01.imgtec.com ([195.59.15.196]:9668 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161158AbbBDPWt (ORCPT ); Wed, 4 Feb 2015 10:22:49 -0500 From: Zubair Lutfullah Kakakhel To: CC: , , , , , , , , , , , , Subject: [PATCH_V2 30/34] MIPS: jz4740: add jz4780 interrupt controller support Date: Wed, 4 Feb 2015 15:21:59 +0000 Message-ID: <1423063323-19419-31-git-send-email-Zubair.Kakakhel@imgtec.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> References: <1423063323-19419-1-git-send-email-Zubair.Kakakhel@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.154.89] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 37 From: Paul Burton Allow the jz4780 interrupt controller to be probed from devicetree, supporting the 64 interrupts it provides. Signed-off-by: Paul Burton Cc: Lars-Peter Clausen --- arch/mips/jz4740/irq.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/jz4740/irq.c b/arch/mips/jz4740/irq.c index 3e53a32..de1c03e 100644 --- a/arch/mips/jz4740/irq.c +++ b/arch/mips/jz4740/irq.c @@ -137,6 +137,13 @@ static int __init jz4740_intc_of_init(struct device_node *node, } IRQCHIP_DECLARE(jz4740_intc, "ingenic,jz4740-intc", jz4740_intc_of_init); +static int __init jz4780_intc_of_init(struct device_node *node, + struct device_node *parent) +{ + return jz47xx_intc_of_init(node, 2); +} +IRQCHIP_DECLARE(jz4780_intc, "ingenic,jz4780-intc", jz4780_intc_of_init); + #ifdef CONFIG_DEBUG_FS static inline void intc_seq_reg(struct seq_file *s, const char *name, -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/