summaryrefslogtreecommitdiff
path: root/drivers/mmc/socfpga_dw_mmc.c
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-09-23 13:13:16 +0300
committerJaehoon Chung <jh80.chung@samsung.com>2016-10-10 09:23:33 +0300
commite5113c333b318328619f8cf2d9984f05fc5c3b59 (patch)
tree4cea7cd8f14d93c927b18f5a39e3241fa9174b09 /drivers/mmc/socfpga_dw_mmc.c
parent7aedafd6b374b9c052474dc248fa7173c5c048a2 (diff)
downloadu-boot-e5113c333b318328619f8cf2d9984f05fc5c3b59.tar.xz
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/socfpga_dw_mmc.c')
-rw-r--r--drivers/mmc/socfpga_dw_mmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c
index 8a9630208c..5a3a4ff403 100644
--- a/drivers/mmc/socfpga_dw_mmc.c
+++ b/drivers/mmc/socfpga_dw_mmc.c
@@ -111,8 +111,7 @@ static int socfpga_dwmmc_probe(struct udevice *dev)
struct dwmci_host *host = &priv->host;
#ifdef CONFIG_BLK
- dwmci_setup_cfg(&plat->cfg, dev->name, host->buswidth, host->caps,
- host->bus_hz, 400000);
+ dwmci_setup_cfg(&plat->cfg, host, host->bus_hz, 400000);
host->mmc = &plat->mmc;
#else
int ret;