avr32: Fix GPIO initcall breakage
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 23 Oct 2008 12:42:19 +0000 (14:42 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Thu, 23 Oct 2008 13:18:33 +0000 (15:18 +0200)
commite82c6106b04b85879d802bbbeaed30d9b10a92e2
tree99758574cb3555001fff0cb3aebc0de654e7e9a3
parente3f91ca48162c3eb70450314a4d09384fccb92fa
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>
arch/avr32/boards/atngw100/setup.c
arch/avr32/boards/atstk1000/atstk1002.c
arch/avr32/boards/atstk1000/atstk1003.c
arch/avr32/boards/atstk1000/atstk1004.c
arch/avr32/mach-at32ap/at32ap700x.c
arch/avr32/mach-at32ap/include/mach/board.h