summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdrivers/mmc/host/sdhci-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 0d651879af46..89db0cb17b31 100755
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -403,7 +403,7 @@ static int tegra_sdhci_resume(struct platform_device *pdev)
/* enable clock to sdio controller */
ret = tegra_sdhci_set_controller_clk(t_sdhci, NV_TRUE);
if (ret)
- pr_err("tegra_sdhci_resume:tegra_sdhci_set_clock failed with error %d\n", err);
+ pr_err("tegra_sdhci_resume:tegra_sdhci_set_clock failed with error %d\n", ret);
ret = sdhci_resume_host(t_sdhci->sdhost);
if (ret)
pr_err("sdhci_resume_host failed with error %d\n", ret);