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-kb9202.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-kb9202.c')
-rw-r--r-- | arch/arm/mach-at91/board-kb9202.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/board-kb9202.c b/arch/arm/mach-at91/board-kb9202.c index a4d815302428..9dc8d496ead1 100644 --- a/arch/arm/mach-at91/board-kb9202.c +++ b/arch/arm/mach-at91/board-kb9202.c | |||
@@ -69,11 +69,6 @@ static void __init kb9202_init_early(void) | |||
69 | at91_set_serial_console(0); | 69 | at91_set_serial_console(0); |
70 | } | 70 | } |
71 | 71 | ||
72 | static void __init kb9202_init_irq(void) | ||
73 | { | ||
74 | at91rm9200_init_interrupts(NULL); | ||
75 | } | ||
76 | |||
77 | static struct at91_eth_data __initdata kb9202_eth_data = { | 72 | static struct at91_eth_data __initdata kb9202_eth_data = { |
78 | .phy_irq_pin = AT91_PIN_PB29, | 73 | .phy_irq_pin = AT91_PIN_PB29, |
79 | .is_rmii = 0, | 74 | .is_rmii = 0, |
@@ -142,6 +137,6 @@ MACHINE_START(KB9200, "KB920x") | |||
142 | .timer = &at91rm9200_timer, | 137 | .timer = &at91rm9200_timer, |
143 | .map_io = at91_map_io, | 138 | .map_io = at91_map_io, |
144 | .init_early = kb9202_init_early, | 139 | .init_early = kb9202_init_early, |
145 | .init_irq = kb9202_init_irq, | 140 | .init_irq = at91_init_irq_default, |
146 | .init_machine = kb9202_board_init, | 141 | .init_machine = kb9202_board_init, |
147 | MACHINE_END | 142 | MACHINE_END |