mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
946651cba2
commit
1d207cd30b
6 changed files with 43 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue