Browse Source

mmc: core: Silence compiler warning in __mmc_switch

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Ulf Hansson 11 years ago
parent
commit
ecd3a7dad9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/mmc/core/mmc_ops.c

+ 1 - 1
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);