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 9f25ec5641fe59f9023d26b14fcc4fb0e1b72b9d..0a882ca89bbbe1365d34b77a8c0539f7bb63d85d 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 940e0947a5dcf454177571cb05a00e5f509a7c46..da5d24cc67dbd5c978cfcbd3a50fb2b55ebeffe4 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) {