diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-04-23 03:28:34 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-07-28 11:07:28 -0400 |
commit | 92100c12ca1bc5f347ff41c1413f9db07c4d276c (patch) | |
tree | cbf4379cce962c550d32ab5dfd6d10dac7fb70db /arch/arm/mach-at91/board-snapper9260.c | |
parent | 21d08b9d5536ac418bbce4f419fe2b528b7ddf31 (diff) |
at91: factorize at91 interrupts init to soc
they are the same except the default priority
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/board-snapper9260.c')
-rw-r--r-- | arch/arm/mach-at91/board-snapper9260.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/board-snapper9260.c b/arch/arm/mach-at91/board-snapper9260.c index c600b1491e44..25cd3ffce1ee 100644 --- a/arch/arm/mach-at91/board-snapper9260.c +++ b/arch/arm/mach-at91/board-snapper9260.c | |||
@@ -55,11 +55,6 @@ static void __init snapper9260_init_early(void) | |||
55 | at91_register_uart(AT91SAM9260_ID_US2, 3, 0); | 55 | at91_register_uart(AT91SAM9260_ID_US2, 3, 0); |
56 | } | 56 | } |
57 | 57 | ||
58 | static void __init snapper9260_init_irq(void) | ||
59 | { | ||
60 | at91sam9260_init_interrupts(NULL); | ||
61 | } | ||
62 | |||
63 | static struct at91_usbh_data __initdata snapper9260_usbh_data = { | 58 | static struct at91_usbh_data __initdata snapper9260_usbh_data = { |
64 | .ports = 2, | 59 | .ports = 2, |
65 | }; | 60 | }; |
@@ -181,7 +176,7 @@ MACHINE_START(SNAPPER_9260, "Bluewater Systems Snapper 9260/9G20 module") | |||
181 | .timer = &at91sam926x_timer, | 176 | .timer = &at91sam926x_timer, |
182 | .map_io = at91_map_io, | 177 | .map_io = at91_map_io, |
183 | .init_early = snapper9260_init_early, | 178 | .init_early = snapper9260_init_early, |
184 | .init_irq = snapper9260_init_irq, | 179 | .init_irq = at91_init_irq_default, |
185 | .init_machine = snapper9260_board_init, | 180 | .init_machine = snapper9260_board_init, |
186 | MACHINE_END | 181 | MACHINE_END |
187 | 182 | ||