irqchip: atmel-aic: Implement RTC irq fixup
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 10 Jul 2014 18:25:40 +0000 (20:25 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 17 Jul 2014 13:38:54 +0000 (13:38 +0000)
commit3d61467f9bab36aee786f762730b73565dbef3bf
tree233f2998088b3e660005aafc68b2c06bf289d9c1
parentb2f579b58e93ded5916fb69a28cfc86e0ab951a6
irqchip: atmel-aic: Implement RTC irq fixup

Provide an implementation to fix RTC irqs before enabling the irqchip.

This was previously done in arch/arm/mach-at91/sysirq_mask.c but as we're
trying to use standard implementation (IRQCHIP_DECLARE and automatic call
of irqchip_init within arch/arm/kernel/irq.c) we need to do those fixups
in the irqchip driver.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Link: https://lkml.kernel.org/r/1405016741-2407-3-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-atmel-aic-common.c
drivers/irqchip/irq-atmel-aic-common.h