diff options
Diffstat (limited to 'arch/arm/mach-at91/at91sam9261.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9261.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c index a0081c081c32..7a4a673eedeb 100644 --- a/arch/arm/mach-at91/at91sam9261.c +++ b/arch/arm/mach-at91/at91sam9261.c | |||
@@ -361,19 +361,8 @@ static unsigned int at91sam9261_default_irq_priority[NR_AIC_IRQS] __initdata = { | |||
361 | 0, /* Advanced Interrupt Controller */ | 361 | 0, /* Advanced Interrupt Controller */ |
362 | }; | 362 | }; |
363 | 363 | ||
364 | void __init at91sam9261_init_interrupts(unsigned int priority[NR_AIC_IRQS]) | ||
365 | { | ||
366 | if (!priority) | ||
367 | priority = at91sam9261_default_irq_priority; | ||
368 | |||
369 | /* Initialize the AIC interrupt controller */ | ||
370 | at91_aic_init(priority); | ||
371 | |||
372 | /* Enable GPIO interrupts */ | ||
373 | at91_gpio_irq_setup(); | ||
374 | } | ||
375 | |||
376 | struct at91_soc __initdata at91sam9261_soc = { | 364 | struct at91_soc __initdata at91sam9261_soc = { |
377 | .map_io = at91sam9261_map_io, | 365 | .map_io = at91sam9261_map_io, |
366 | .default_irq_priority = at91sam9261_default_irq_priority, | ||
378 | .init = at91sam9261_initialize, | 367 | .init = at91sam9261_initialize, |
379 | }; | 368 | }; |