summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/cw1200
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-06-02 15:53:02 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-06-03 21:54:54 +0200
commit7b19bc2ca92ddda8f8e128593a2d523092ab4b14 (patch)
treedd9fa72babe4b7e31ba1eb3b3ebfe686c76630c0 /drivers/net/wireless/cw1200
parentcw1200: move platform_data header to correct location. (diff)
downloadlinux-7b19bc2ca92ddda8f8e128593a2d523092ab4b14.tar.xz
linux-7b19bc2ca92ddda8f8e128593a2d523092ab4b14.zip
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/net/wireless/cw1200')
-rw-r--r--drivers/net/wireless/cw1200/cw1200_sdio.c2
-rw-r--r--drivers/net/wireless/cw1200/cw1200_spi.c2
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 9f25ec5641fe..0a882ca89bbb 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 940e0947a5dc..da5d24cc67db 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) {