From: Paul Burton <paul.burton@xxxxxxxxxx> Allow the jz4780 interrupt controller to be probed from devicetree, supporting the 64 interrupts it provides. Signed-off-by: Paul Burton <paul.burton@xxxxxxxxxx> Cc: Lars-Peter Clausen <lars@xxxxxxxxxx> --- 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