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-pcontrol-g20.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-pcontrol-g20.c')
-rw-r--r-- | arch/arm/mach-at91/board-pcontrol-g20.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/mach-at91/board-pcontrol-g20.c b/arch/arm/mach-at91/board-pcontrol-g20.c index 7651e7f93655..49e3f699b48e 100644 --- a/arch/arm/mach-at91/board-pcontrol-g20.c +++ b/arch/arm/mach-at91/board-pcontrol-g20.c | |||
@@ -53,13 +53,6 @@ static void __init pcontrol_g20_init_early(void) | |||
53 | at91_register_uart(AT91SAM9260_ID_US4, 3, 0); | 53 | at91_register_uart(AT91SAM9260_ID_US4, 3, 0); |
54 | } | 54 | } |
55 | 55 | ||
56 | |||
57 | static void __init init_irq(void) | ||
58 | { | ||
59 | at91sam9260_init_interrupts(NULL); | ||
60 | } | ||
61 | |||
62 | |||
63 | static struct sam9_smc_config __initdata pcontrol_smc_config[2] = { { | 56 | static struct sam9_smc_config __initdata pcontrol_smc_config[2] = { { |
64 | .ncs_read_setup = 16, | 57 | .ncs_read_setup = 16, |
65 | .nrd_setup = 18, | 58 | .nrd_setup = 18, |
@@ -225,6 +218,6 @@ MACHINE_START(PCONTROL_G20, "PControl G20") | |||
225 | .timer = &at91sam926x_timer, | 218 | .timer = &at91sam926x_timer, |
226 | .map_io = at91_map_io, | 219 | .map_io = at91_map_io, |
227 | .init_early = pcontrol_g20_init_early, | 220 | .init_early = pcontrol_g20_init_early, |
228 | .init_irq = init_irq, | 221 | .init_irq = at91_init_irq_default, |
229 | .init_machine = pcontrol_g20_board_init, | 222 | .init_machine = pcontrol_g20_board_init, |
230 | MACHINE_END | 223 | MACHINE_END |