mmc: fix warning
authorlin tao <lt@mid-server3.(none)>
Tue, 17 Jun 2014 03:23:52 +0000 (11:23 +0800)
committerlin tao <lt@mid-server3.(none)>
Tue, 17 Jun 2014 03:24:14 +0000 (11:24 +0800)
drivers/mmc/host/rk_sdmmc.c

index a9f689b0e7c8deb68458efd468d36222357ae575..f5f78969d38d274f60ec2b8ba01e5927211b21eb 100755 (executable)
@@ -1365,11 +1365,13 @@ static void dw_mci_hw_reset(struct mmc_host *mmc)
 {
         struct dw_mci_slot *slot = mmc_priv(mmc);
         struct dw_mci *host = slot->host;
-        u32 cmd_flags, regs;
-       unsigned long timeout;
-       bool ret = true;
+        u32 regs;
 
         #if 0
+        u32 cmd_flags;
+        unsigned long timeout;
+        bool ret = true;
+
         /* (1) CMD12 to end any transfer in process */
         cmd_flags = SDMMC_CMD_STOP | SDMMC_CMD_RESP_CRC
                        | SDMMC_CMD_RESP_EXP | MMC_STOP_TRANSMISSION;