summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3pandora.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2014-02-15 00:05:53 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-02-28 14:08:26 -0500
commit1d207cd30b65fdd60d952cb9e100b6f776564f06 (patch)
treed7da13786239fa133a95c7cb0452877a9e2763d9 /arch/arm/mach-omap2/board-omap3pandora.c
parent946651cba26779864bcdbd7e12502f5a36c2de37 (diff)
downloadop-kernel-dev-1d207cd30b65fdd60d952cb9e100b6f776564f06.zip
op-kernel-dev-1d207cd30b65fdd60d952cb9e100b6f776564f06.tar.gz
wl1251: move power GPIO handling into the driver
Move the power GPIO handling from the board code into the driver. This is a dependency for device tree support. Signed-off-by: Sebastian Reichel <sre@debian.org> Reviewed-by: Pavel Machek <pavel@ucw.cz> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3pandora.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3pandora.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
index 24f3c1b..cf18340 100644
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
@@ -541,6 +541,8 @@ static void __init pandora_wl1251_init(void)
memset(&pandora_wl1251_pdata, 0, sizeof(pandora_wl1251_pdata));
+ pandora_wl1251_pdata.power_gpio = -1;
+
ret = gpio_request_one(PANDORA_WIFI_IRQ_GPIO, GPIOF_IN, "wl1251 irq");
if (ret < 0)
goto fail;
OpenPOWER on IntegriCloud