summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authoryhsu <yhsu@nvidia.com>2010-04-30 19:53:06 -0700
committerYu-Huan Hsu <yhsu@nvidia.com>2010-04-30 19:58:55 -0700
commit7eb7a42ddadfe5dbcb529e7d0e908dbb0c1c2b18 (patch)
treef7e9d30acf1c68433a8257efb571082f583d7461 /drivers
parent3bc799a0e29981a1a41a2780917aea5aa2258979 (diff)
tegra mmc: fixing build break.
Fixed undeclared variable causing build break. Change-Id: I5c4b9483e25694123bedc05327c309d607bd04ff Reviewed-on: http://git-master/r/1265 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Tested-by: Yu-Huan Hsu <yhsu@nvidia.com>
Diffstat (limited to 'drivers')
-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);