omap: Fix gpio_request calls to happen as arch_initcall
authorTony Lindgren <tony@atomide.com>
Wed, 8 Dec 2010 00:26:55 +0000 (16:26 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 8 Dec 2010 00:26:55 +0000 (16:26 -0800)
commitc2cdaffe0bb32015e84af8e31f73e620ba271165
tree420ae7c0acec63eda182c7b4ceea1e39406bc41b
parent7b045c96cd1405597a6a2e98bc53a4ac01d835b1
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>
arch/arm/mach-omap1/board-fsample.c
arch/arm/mach-omap1/board-h2.c
arch/arm/mach-omap1/board-h3.c
arch/arm/mach-omap1/board-innovator.c
arch/arm/mach-omap1/board-osk.c
arch/arm/mach-omap1/board-perseus2.c
arch/arm/mach-omap2/board-apollon.c
arch/arm/mach-omap2/board-ldp.c