summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rwxr-xr-xdrivers/mmc/host/sdhci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 7b8ad2706d22..0cb6a8b14802 100755
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -53,7 +53,6 @@ static void sdhci_tuning_timer(unsigned long data);
static void sdhci_clk_worker(struct work_struct *work)
{
- unsigned long flags;
struct sdhci_host *host =
container_of(work, struct sdhci_host, clk_worker.work);
@@ -2325,7 +2324,7 @@ int sdhci_resume_host(struct sdhci_host *host)
int ret;
if (host->vmmc) {
- int ret = regulator_enable(host->vmmc);
+ ret = regulator_enable(host->vmmc);
if (ret)
goto out;
}