aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/exynos_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/exynos_dw_mmc.c
parent7aedafd6b374b9c052474dc248fa7173c5c048a2 (diff)
downloadu-boot-e5113c333b318328619f8cf2d9984f05fc5c3b59.zip
u-boot-e5113c333b318328619f8cf2d9984f05fc5c3b59.tar.gz
u-boot-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/exynos_dw_mmc.c')
-rw-r--r--drivers/mmc/exynos_dw_mmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/exynos_dw_mmc.c b/drivers/mmc/exynos_dw_mmc.c
index 568fed7..c440399 100644
--- a/drivers/mmc/exynos_dw_mmc.c
+++ b/drivers/mmc/exynos_dw_mmc.c
@@ -271,8 +271,7 @@ static int exynos_dwmmc_probe(struct udevice *dev)
if (err)
return err;
- dwmci_setup_cfg(&plat->cfg, host->name, host->buswidth, host->caps,
- DWMMC_MAX_FREQ, DWMMC_MIN_FREQ);
+ dwmci_setup_cfg(&plat->cfg, host, DWMMC_MAX_FREQ, DWMMC_MIN_FREQ);
host->mmc = &plat->mmc;
host->mmc->priv = &priv->host;
host->priv = dev;