summaryrefslogtreecommitdiff
path: root/drivers/mmc/rockchip_dw_mmc.c
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-09-23 19:13:16 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2016-10-10 15:23:33 +0900
commite5113c333b318328619f8cf2d9984f05fc5c3b59 (patch)
tree4cea7cd8f14d93c927b18f5a39e3241fa9174b09 /drivers/mmc/rockchip_dw_mmc.c
parent7aedafd6b374b9c052474dc248fa7173c5c048a2 (diff)
downloadu-boot-imx-e5113c333b318328619f8cf2d9984f05fc5c3b59.zip
u-boot-imx-e5113c333b318328619f8cf2d9984f05fc5c3b59.tar.gz
u-boot-imx-e5113c333b318328619f8cf2d9984f05fc5c3b59.tar.bz2
mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg
Some arguments don't need to pass to dwmci_setup_cfg. They are already included in dwmci_host structure. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/rockchip_dw_mmc.c')
-rw-r--r--drivers/mmc/rockchip_dw_mmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/rockchip_dw_mmc.c b/drivers/mmc/rockchip_dw_mmc.c
index 859760b..47db678 100644
--- a/drivers/mmc/rockchip_dw_mmc.c
+++ b/drivers/mmc/rockchip_dw_mmc.c
@@ -129,8 +129,7 @@ static int rockchip_dwmmc_probe(struct udevice *dev)
return ret;
}
#endif
- dwmci_setup_cfg(&plat->cfg, dev->name, host->buswidth, host->caps,
- priv->minmax[1], priv->minmax[0]);
+ dwmci_setup_cfg(&plat->cfg, host, priv->minmax[1], priv->minmax[0]);
host->mmc = &plat->mmc;
host->mmc->priv = &priv->host;
host->mmc->dev = dev;