summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/setup.c
diff options
context:
space:
mode:
authorNicolas Ferre2014-11-27 16:10:06 +0100
committerNicolas Ferre2014-11-27 16:18:00 +0100
commit1ccdde057b03a2446eeee7b7a63306c4d9c68d61 (patch)
treec437ea0fc1cfc5117f2400cb5bfa834561e70a85 /arch/arm/mach-at91/setup.c
parentARM: at91: remove old at91-specific clock driver (diff)
downloadkernel-qcow2-linux-1ccdde057b03a2446eeee7b7a63306c4d9c68d61.tar.gz
kernel-qcow2-linux-1ccdde057b03a2446eeee7b7a63306c4d9c68d61.tar.xz
kernel-qcow2-linux-1ccdde057b03a2446eeee7b7a63306c4d9c68d61.zip
ARM: at91: remove legacy IRQ driver and related code
Remove irc.c and associated header file. The related code was idendified by the CONFIG_OLD_IRQ_AT91 option that was removed previously. It has been spotted by following coccinelle semantic match: @rule1@ expression E; statement S; @@ ( - if (IS_ENABLED(CONFIG_OLD_IRQ_AT91)) S | - if (IS_ENABLED(CONFIG_OLD_IRQ_AT91) && E) S ) Cc: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r--arch/arm/mach-at91/setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index 98b0c1a62899..6c3013e3309b 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -49,10 +49,6 @@ void __init at91_init_irq_default(void)
void __init at91_init_interrupts(unsigned int *priority)
{
- /* Initialize the AIC interrupt controller */
- if (IS_ENABLED(CONFIG_OLD_IRQ_AT91))
- at91_aic_init(priority, at91_boot_soc.extern_irq);
-
/* Enable GPIO interrupts */
at91_gpio_irq_setup();
}