cw1200: Reference correct 'powerup' GPIO signal.
authorSolomon Peachy <pizza@shaftnet.org>
Sun, 2 Jun 2013 13:53:02 +0000 (09:53 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 3 Jun 2013 19:54:54 +0000 (15:54 -0400)
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/cw1200/cw1200_sdio.c
drivers/net/wireless/cw1200/cw1200_spi.c

index 9f25ec5..0a882ca 100644 (file)
@@ -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) {
index 940e094..da5d24c 100644 (file)
@@ -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) {