diff --git a/drivers/pcmcia/pxa2xx_palmtc.c b/drivers/pcmcia/pxa2xx_palmtc.c index 2c295078032a1466c015ede921bcc333f9b72414..3a8993ed562120f7da811620c770d98f23430831 100644 --- a/drivers/pcmcia/pxa2xx_palmtc.c +++ b/drivers/pcmcia/pxa2xx_palmtc.c @@ -156,7 +156,7 @@ static int palmtc_wifi_powerup(void) static int palmtc_pcmcia_configure_socket(struct soc_pcmcia_socket *skt, const socket_state_t *state) { - int ret; + int ret = 1; if (state->Vcc == 0) ret = palmtc_wifi_powerdown();