diff options
author | Tony Lindgren <tony@atomide.com> | 2010-12-07 19:26:55 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-12-07 19:26:55 -0500 |
commit | c2cdaffe0bb32015e84af8e31f73e620ba271165 (patch) | |
tree | 420ae7c0acec63eda182c7b4ceea1e39406bc41b /arch/arm/mach-omap2/board-apollon.c | |
parent | 7b045c96cd1405597a6a2e98bc53a4ac01d835b1 (diff) |
omap: Fix gpio_request calls to happen as arch_initcall
Looks like some boards are calling gpio_request from init_irq.
This will make the request_irq fail, as GPIO will be initialized
as postcore_initcall.
Reported-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-apollon.c')
-rw-r--r-- | arch/arm/mach-omap2/board-apollon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-apollon.c b/arch/arm/mach-omap2/board-apollon.c index 2c6db1aaeb29..6ae777e08896 100644 --- a/arch/arm/mach-omap2/board-apollon.c +++ b/arch/arm/mach-omap2/board-apollon.c | |||
@@ -281,7 +281,6 @@ static void __init omap_apollon_init_irq(void) | |||
281 | omap2_init_common_hw(NULL, NULL); | 281 | omap2_init_common_hw(NULL, NULL); |
282 | omap_init_irq(); | 282 | omap_init_irq(); |
283 | omap_gpio_init(); | 283 | omap_gpio_init(); |
284 | apollon_init_smc91x(); | ||
285 | } | 284 | } |
286 | 285 | ||
287 | static void __init apollon_led_init(void) | 286 | static void __init apollon_led_init(void) |
@@ -324,6 +323,7 @@ static void __init omap_apollon_init(void) | |||
324 | 323 | ||
325 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); | 324 | omap2420_mux_init(board_mux, OMAP_PACKAGE_ZAC); |
326 | 325 | ||
326 | apollon_init_smc91x(); | ||
327 | apollon_led_init(); | 327 | apollon_led_init(); |
328 | apollon_flash_init(); | 328 | apollon_flash_init(); |
329 | apollon_usb_init(); | 329 | apollon_usb_init(); |