diff options
Diffstat (limited to 'drivers/irqchip/irq-atmel-aic5.c')
-rw-r--r-- | drivers/irqchip/irq-atmel-aic5.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/irqchip/irq-atmel-aic5.c b/drivers/irqchip/irq-atmel-aic5.c index 22c922812cd6..92b504a56293 100644 --- a/drivers/irqchip/irq-atmel-aic5.c +++ b/drivers/irqchip/irq-atmel-aic5.c | |||
@@ -297,6 +297,7 @@ static void __init sama5d3_aic_irq_fixup(struct device_node *root) | |||
297 | 297 | ||
298 | static const struct of_device_id __initdata aic5_irq_fixups[] = { | 298 | static const struct of_device_id __initdata aic5_irq_fixups[] = { |
299 | { .compatible = "atmel,sama5d3", .data = sama5d3_aic_irq_fixup }, | 299 | { .compatible = "atmel,sama5d3", .data = sama5d3_aic_irq_fixup }, |
300 | { .compatible = "atmel,sama5d4", .data = sama5d3_aic_irq_fixup }, | ||
300 | { /* sentinel */ }, | 301 | { /* sentinel */ }, |
301 | }; | 302 | }; |
302 | 303 | ||
@@ -351,3 +352,12 @@ static int __init sama5d3_aic5_of_init(struct device_node *node, | |||
351 | return aic5_of_init(node, parent, NR_SAMA5D3_IRQS); | 352 | return aic5_of_init(node, parent, NR_SAMA5D3_IRQS); |
352 | } | 353 | } |
353 | IRQCHIP_DECLARE(sama5d3_aic5, "atmel,sama5d3-aic", sama5d3_aic5_of_init); | 354 | IRQCHIP_DECLARE(sama5d3_aic5, "atmel,sama5d3-aic", sama5d3_aic5_of_init); |
355 | |||
356 | #define NR_SAMA5D4_IRQS 68 | ||
357 | |||
358 | static int __init sama5d4_aic5_of_init(struct device_node *node, | ||
359 | struct device_node *parent) | ||
360 | { | ||
361 | return aic5_of_init(node, parent, NR_SAMA5D4_IRQS); | ||
362 | } | ||
363 | IRQCHIP_DECLARE(sama5d4_aic5, "atmel,sama5d4-aic", sama5d4_aic5_of_init); | ||