summaryrefslogtreecommitdiff
path: root/drivers/mmc/dw_mmc.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-02-17 14:16:08 -0500
committerTom Rini <trini@ti.com>2014-02-17 14:16:08 -0500
commit18c83588bc830dbad5a96ca19a85184da58f4d09 (patch)
tree6c6828f97876aa9974f29d2c8f5f248b8188a172 /drivers/mmc/dw_mmc.c
parent22a240c32c1340183fce12867ae5f8736b92a638 (diff)
parentb818d9ab8d96471c40ccbd4541a46dfa415eda73 (diff)
downloadu-boot-imx-18c83588bc830dbad5a96ca19a85184da58f4d09.zip
u-boot-imx-18c83588bc830dbad5a96ca19a85184da58f4d09.tar.gz
u-boot-imx-18c83588bc830dbad5a96ca19a85184da58f4d09.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'drivers/mmc/dw_mmc.c')
-rw-r--r--drivers/mmc/dw_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 4cec5aa..d45c15c 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -237,7 +237,7 @@ static int dwmci_setup_bus(struct dwmci_host *host, u32 freq)
* host->bus_hz should be set from user.
*/
if (host->get_mmc_clk)
- sclk = host->get_mmc_clk(host->dev_index);
+ sclk = host->get_mmc_clk(host);
else if (host->bus_hz)
sclk = host->bus_hz;
else {