diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2016-09-23 19:13:16 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-10-10 15:23:33 +0900 |
commit | e5113c333b318328619f8cf2d9984f05fc5c3b59 (patch) | |
tree | 4cea7cd8f14d93c927b18f5a39e3241fa9174b09 /drivers/mmc/socfpga_dw_mmc.c | |
parent | 7aedafd6b374b9c052474dc248fa7173c5c048a2 (diff) | |
download | u-boot-e5113c333b318328619f8cf2d9984f05fc5c3b59.tar.gz |
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.c | 3 |
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; |