mmc: core: Silence compiler warning in __mmc_switch
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 28 Oct 2013 01:51:41 +0000 (02:51 +0100)
committerChris Ball <cjb@laptop.org>
Fri, 8 Nov 2013 19:31:58 +0000 (14:31 -0500)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc_ops.c

index aae8d8b..e5b5eeb 100644 (file)
@@ -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);