diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-10-23 08:42:19 -0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-10-23 09:18:33 -0400 |
commit | e82c6106b04b85879d802bbbeaed30d9b10a92e2 (patch) | |
tree | 99758574cb3555001fff0cb3aebc0de654e7e9a3 /arch/avr32/boards/atstk1000/atstk1004.c | |
parent | e3f91ca48162c3eb70450314a4d09384fccb92fa (diff) |
avr32: Fix GPIO initcall breakage
Add essential system devices, including GPIO controllers, automatically
at core_initcall time. This ensures that the devices are there when the
PIO driver gets initialized at postcore_initcall, fixing a bug exposed
by commit d6634db8fe1784d0a8e4e156970fec034708446e "avr32: Use
platform_driver_probe for pio platform driver".
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/atstk1000/atstk1004.c')
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1004.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1004.c b/arch/avr32/boards/atstk1000/atstk1004.c index 248ef237c167..cb32eb844aa7 100644 --- a/arch/avr32/boards/atstk1000/atstk1004.c +++ b/arch/avr32/boards/atstk1000/atstk1004.c | |||
@@ -132,8 +132,6 @@ void __init setup_board(void) | |||
132 | 132 | ||
133 | static int __init atstk1004_init(void) | 133 | static int __init atstk1004_init(void) |
134 | { | 134 | { |
135 | at32_add_system_devices(); | ||
136 | |||
137 | #ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM | 135 | #ifdef CONFIG_BOARD_ATSTK100X_SW2_CUSTOM |
138 | at32_add_device_usart(1); | 136 | at32_add_device_usart(1); |
139 | #else | 137 | #else |