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-stamp9g20.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-stamp9g20.c')
-rw-r--r-- | arch/arm/mach-at91/board-stamp9g20.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-at91/board-stamp9g20.c b/arch/arm/mach-at91/board-stamp9g20.c index e65efdaf9c4b..936e5fd7f406 100644 --- a/arch/arm/mach-at91/board-stamp9g20.c +++ b/arch/arm/mach-at91/board-stamp9g20.c | |||
@@ -76,12 +76,6 @@ static void __init portuxg20_init_early(void) | |||
76 | at91_register_uart(AT91SAM9260_ID_US5, 6, 0); | 76 | at91_register_uart(AT91SAM9260_ID_US5, 6, 0); |
77 | } | 77 | } |
78 | 78 | ||
79 | static void __init init_irq(void) | ||
80 | { | ||
81 | at91sam9260_init_interrupts(NULL); | ||
82 | } | ||
83 | |||
84 | |||
85 | /* | 79 | /* |
86 | * NAND flash | 80 | * NAND flash |
87 | */ | 81 | */ |
@@ -301,7 +295,7 @@ MACHINE_START(PORTUXG20, "taskit PortuxG20") | |||
301 | .timer = &at91sam926x_timer, | 295 | .timer = &at91sam926x_timer, |
302 | .map_io = at91_map_io, | 296 | .map_io = at91_map_io, |
303 | .init_early = portuxg20_init_early, | 297 | .init_early = portuxg20_init_early, |
304 | .init_irq = init_irq, | 298 | .init_irq = at91_init_irq_default, |
305 | .init_machine = portuxg20_board_init, | 299 | .init_machine = portuxg20_board_init, |
306 | MACHINE_END | 300 | MACHINE_END |
307 | 301 | ||
@@ -310,6 +304,6 @@ MACHINE_START(STAMP9G20, "taskit Stamp9G20") | |||
310 | .timer = &at91sam926x_timer, | 304 | .timer = &at91sam926x_timer, |
311 | .map_io = at91_map_io, | 305 | .map_io = at91_map_io, |
312 | .init_early = stamp9g20evb_init_early, | 306 | .init_early = stamp9g20evb_init_early, |
313 | .init_irq = init_irq, | 307 | .init_irq = at91_init_irq_default, |
314 | .init_machine = stamp9g20evb_board_init, | 308 | .init_machine = stamp9g20evb_board_init, |
315 | MACHINE_END | 309 | MACHINE_END |