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-flexibity.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-flexibity.c')
-rw-r--r-- | arch/arm/mach-at91/board-flexibity.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/board-flexibity.c b/arch/arm/mach-at91/board-flexibity.c index f45583ed5a66..4c3f65d9c59b 100644 --- a/arch/arm/mach-at91/board-flexibity.c +++ b/arch/arm/mach-at91/board-flexibity.c | |||
@@ -49,11 +49,6 @@ static void __init flexibity_init_early(void) | |||
49 | at91_set_serial_console(0); | 49 | at91_set_serial_console(0); |
50 | } | 50 | } |
51 | 51 | ||
52 | static void __init flexibity_init_irq(void) | ||
53 | { | ||
54 | at91sam9260_init_interrupts(NULL); | ||
55 | } | ||
56 | |||
57 | /* USB Host port */ | 52 | /* USB Host port */ |
58 | static struct at91_usbh_data __initdata flexibity_usbh_data = { | 53 | static struct at91_usbh_data __initdata flexibity_usbh_data = { |
59 | .ports = 2, | 54 | .ports = 2, |
@@ -157,6 +152,6 @@ MACHINE_START(FLEXIBITY, "Flexibity Connect") | |||
157 | .timer = &at91sam926x_timer, | 152 | .timer = &at91sam926x_timer, |
158 | .map_io = at91_map_io, | 153 | .map_io = at91_map_io, |
159 | .init_early = flexibity_init_early, | 154 | .init_early = flexibity_init_early, |
160 | .init_irq = flexibity_init_irq, | 155 | .init_irq = at91_init_irq_default, |
161 | .init_machine = flexibity_board_init, | 156 | .init_machine = flexibity_board_init, |
162 | MACHINE_END | 157 | MACHINE_END |