mmc: msm_sdcc: Fix compilation error
Fix following compilation error when CONFIG_PM_RUNTIME
is not defined.
"warning: 'rc' may be used uninitialized in this function"
Change-Id: I6e445dc73c4dbf226605fe5756c13a7a890f451d
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index 7e9b05e..e458429 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -2947,7 +2947,7 @@
struct device *dev = mmc->parent;
struct msmsdcc_host *host = mmc_priv(mmc);
unsigned long flags;
- int rc;
+ int rc = 0;
msmsdcc_pm_qos_update_latency(host, 1);