summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
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 14:31:58 -0500
commitecd3a7dad982aeba6409ef6d933fd7e372a70127 (patch)
treefc804b754a84c16187eeb2de22881e0c8f81b4b0 /drivers/mmc
parentac0a2e98927e4797ae716b7327c3a9c85ba5431c (diff)
downloadlinux-ecd3a7dad982aeba6409ef6d933fd7e372a70127.tar.bz2
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>
Diffstat (limited to 'drivers/mmc')
-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);