diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2013-06-02 13:53:02 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-03 19:54:54 (GMT) |
commit | 7b19bc2ca92ddda8f8e128593a2d523092ab4b14 (patch) | |
tree | dd9fa72babe4b7e31ba1eb3b3ebfe686c76630c0 /drivers | |
parent | c992219825823cad5e11fab3854eb93df2e9ffa1 (diff) | |
download | linux-7b19bc2ca92ddda8f8e128593a2d523092ab4b14.tar.xz |
cw1200: Reference correct 'powerup' GPIO signal.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/cw1200/cw1200_sdio.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/cw1200/cw1200_spi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/cw1200/cw1200_sdio.c b/drivers/net/wireless/cw1200/cw1200_sdio.c index 9f25ec5..0a882ca8 100644 --- a/drivers/net/wireless/cw1200/cw1200_sdio.c +++ b/drivers/net/wireless/cw1200/cw1200_sdio.c @@ -193,7 +193,7 @@ static int cw1200_sdio_off(const struct cw1200_platform_data_sdio *pdata) static int cw1200_sdio_on(const struct cw1200_platform_data_sdio *pdata) { const struct resource *reset = pdata->reset; - const struct resource *powerup = pdata->reset; + const struct resource *powerup = pdata->powerup; /* Ensure I/Os are pulled low */ if (reset) { diff --git a/drivers/net/wireless/cw1200/cw1200_spi.c b/drivers/net/wireless/cw1200/cw1200_spi.c index 940e094..da5d24c 100644 --- a/drivers/net/wireless/cw1200/cw1200_spi.c +++ b/drivers/net/wireless/cw1200/cw1200_spi.c @@ -287,7 +287,7 @@ static int cw1200_spi_off(const struct cw1200_platform_data_spi *pdata) static int cw1200_spi_on(const struct cw1200_platform_data_spi *pdata) { const struct resource *reset = pdata->reset; - const struct resource *powerup = pdata->reset; + const struct resource *powerup = pdata->powerup; /* Ensure I/Os are pulled low */ if (reset) { |