diff mbox

[1/2] mmc: core: Silence compiler warning in __mmc_switch

Message ID 1382985970-14583-1-git-send-email-ulf.hansson@linaro.org
State Accepted
Commit ecd3a7dad982aeba6409ef6d933fd7e372a70127
Headers show

Commit Message

Ulf Hansson Oct. 28, 2013, 6:46 p.m. UTC
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
 drivers/mmc/core/mmc_ops.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
index aae8d8b..e5b5eeb 100644
--- a/drivers/mmc/core/mmc_ops.c
+++ b/drivers/mmc/core/mmc_ops.c
@@ -414,7 +414,7 @@  int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
 	int err;
 	struct mmc_command cmd = {0};
 	unsigned long timeout;
-	u32 status;
+	u32 status = 0;
 	bool ignore_crc = false;
 
 	BUG_ON(!card);