irqchip: atmel-aic5: The sama5d3 has 48 IRQs
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 11 Sep 2014 14:41:51 +0000 (16:41 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sun, 14 Sep 2014 06:33:30 +0000 (06:33 +0000)
The FUSE and RAM controllers don't have any connected IRQs, reducing the number
of IRQs to 48.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Link: https://lkml.kernel.org/r/1410446511-29477-1-git-send-email-alexandre.belloni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-atmel-aic5.c

index edb2270815246cf8aece1406fdab20ec40de2b53..22c922812cd657bf85ef3713e196a044b5f8e886 100644 (file)
@@ -343,7 +343,7 @@ static int __init aic5_of_init(struct device_node *node,
        return 0;
 }
 
-#define NR_SAMA5D3_IRQS                50
+#define NR_SAMA5D3_IRQS                48
 
 static int __init sama5d3_aic5_of_init(struct device_node *node,
                                       struct device_node *parent)