summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2013-10-28 02:51:41 +0100
committerChris Ball <cjb@laptop.org>2013-11-08 20:31:58 +0100
commitecd3a7dad982aeba6409ef6d933fd7e372a70127 (patch)
treefc804b754a84c16187eeb2de22881e0c8f81b4b0
parentmmc: sh_mmcif: Convert to clk_prepare|unprepare (diff)
downloadlinux-ecd3a7dad982aeba6409ef6d933fd7e372a70127.tar.xz
linux-ecd3a7dad982aeba6409ef6d933fd7e372a70127.zip
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>
-rw-r--r--drivers/mmc/core/mmc_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
index aae8d8b45549..e5b5eeb548d1 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);