aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/wl12xx.h
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 /include/linux/wl12xx.h
parentwl1251: split wl251 platform data to a separate structure (diff)
downloadlinux-dev-1d207cd30b65fdd60d952cb9e100b6f776564f06.tar.xz
linux-dev-1d207cd30b65fdd60d952cb9e100b6f776564f06.zip
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 'include/linux/wl12xx.h')
-rw-r--r--include/linux/wl12xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/wl12xx.h b/include/linux/wl12xx.h
index b516b4fa22de..a9c723be1acf 100644
--- a/include/linux/wl12xx.h
+++ b/include/linux/wl12xx.h
@@ -49,7 +49,7 @@ enum {
};
struct wl1251_platform_data {
- void (*set_power)(bool enable);
+ int power_gpio;
/* SDIO only: IRQ number if WLAN_IRQ line is used, 0 for SDIO IRQs */
int irq;
bool use_eeprom;