aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91cap9.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/at91cap9.c')
-rw-r--r--arch/arm/mach-at91/at91cap9.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-at91/at91cap9.c b/arch/arm/mach-at91/at91cap9.c
index 7ec9eeb64286..9a0137043780 100644
--- a/arch/arm/mach-at91/at91cap9.c
+++ b/arch/arm/mach-at91/at91cap9.c
@@ -403,19 +403,8 @@ static unsigned int at91cap9_default_irq_priority[NR_AIC_IRQS] __initdata = {
403 0, /* Advanced Interrupt Controller (IRQ1) */ 403 0, /* Advanced Interrupt Controller (IRQ1) */
404}; 404};
405 405
406void __init at91cap9_init_interrupts(unsigned int priority[NR_AIC_IRQS])
407{
408 if (!priority)
409 priority = at91cap9_default_irq_priority;
410
411 /* Initialize the AIC interrupt controller */
412 at91_aic_init(priority);
413
414 /* Enable GPIO interrupts */
415 at91_gpio_irq_setup();
416}
417
418struct at91_soc __initdata at91cap9_soc = { 406struct at91_soc __initdata at91cap9_soc = {
419 .map_io = at91cap9_map_io, 407 .map_io = at91cap9_map_io,
408 .default_irq_priority = at91cap9_default_irq_priority,
420 .init = at91cap9_initialize, 409 .init = at91cap9_initialize,
421}; 410};