diff options
author | Sebastian Reichel <sre@debian.org> | 2014-02-14 18:05:53 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-28 14:08:26 -0500 |
commit | 1d207cd30b65fdd60d952cb9e100b6f776564f06 (patch) | |
tree | d7da13786239fa133a95c7cb0452877a9e2763d9 /drivers/net/wireless/ti/wl1251/wl1251.h | |
parent | 946651cba26779864bcdbd7e12502f5a36c2de37 (diff) |
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 'drivers/net/wireless/ti/wl1251/wl1251.h')
-rw-r--r-- | drivers/net/wireless/ti/wl1251/wl1251.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wl1251/wl1251.h b/drivers/net/wireless/ti/wl1251/wl1251.h index 235617a7716d..389fe25af1b6 100644 --- a/drivers/net/wireless/ti/wl1251/wl1251.h +++ b/drivers/net/wireless/ti/wl1251/wl1251.h | |||
@@ -276,7 +276,7 @@ struct wl1251 { | |||
276 | void *if_priv; | 276 | void *if_priv; |
277 | const struct wl1251_if_operations *if_ops; | 277 | const struct wl1251_if_operations *if_ops; |
278 | 278 | ||
279 | void (*set_power)(bool enable); | 279 | int power_gpio; |
280 | int irq; | 280 | int irq; |
281 | bool use_eeprom; | 281 | bool use_eeprom; |
282 | 282 | ||