summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-atmel-aic-common.h
diff options
context:
space:
mode:
authorMilo Kim <milo.kim@ti.com>2016-01-13 16:19:49 +0900
committerThomas Gleixner <tglx@linutronix.de>2016-02-08 15:03:42 +0100
commitdd85c79150079339b3ded62dda5f6985d192900a (patch)
treea846fbe560ba5bcdfc2a862f8e22fd06c64b2b0b /drivers/irqchip/irq-atmel-aic-common.h
parent388f7b1d6e8ca06762e2454d28d6c3c55ad0fe95 (diff)
downloadlwn-dd85c79150079339b3ded62dda5f6985d192900a.tar.gz
lwn-dd85c79150079339b3ded62dda5f6985d192900a.zip
irqchip/atmel-aic: Handle aic_common_irq_fixup in aic_common_of_init
AIC IRQ fixup is handled in each IRQ chip driver. It can be moved into aic_common_of_init() before returning the result. Then, aic_common_irq_fixup() can be changed to static type. Signed-off-by: Milo Kim <milo.kim@ti.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Ludovic Desroches <ludovic.desroches@atmel.com> Cc: Nicholas Ferre <nicolas.ferre@atmel.com> Link: http://lkml.kernel.org/r/1452669592-3401-1-git-send-email-milo.kim@ti.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/irqchip/irq-atmel-aic-common.h')
-rw-r--r--drivers/irqchip/irq-atmel-aic-common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/irqchip/irq-atmel-aic-common.h b/drivers/irqchip/irq-atmel-aic-common.h
index 603f0a9d5411..046bcc88205b 100644
--- a/drivers/irqchip/irq-atmel-aic-common.h
+++ b/drivers/irqchip/irq-atmel-aic-common.h
@@ -30,12 +30,11 @@ int aic_common_irq_domain_xlate(struct irq_domain *d,
struct irq_domain *__init aic_common_of_init(struct device_node *node,
const struct irq_domain_ops *ops,
- const char *name, int nirqs);
+ const char *name, int nirqs,
+ const struct of_device_id *matches);
void __init aic_common_rtc_irq_fixup(struct device_node *root);
void __init aic_common_rtt_irq_fixup(struct device_node *root);
-void __init aic_common_irq_fixup(const struct of_device_id *matches);
-
#endif /* __IRQ_ATMEL_AIC_COMMON_H */