diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2016-07-26 19:06:23 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2016-08-05 11:21:25 +0900 |
commit | 6a879ec8e7ac9905ad10b98e9cd585622c64b17c (patch) | |
tree | a2177e9c00198c0bc1eae3de6cf7ebe6aacb0e15 /drivers/mmc/sdhci.c | |
parent | e1ea7c44d67dde263c13e1aef300cab408236994 (diff) | |
download | u-boot-imx-6a879ec8e7ac9905ad10b98e9cd585622c64b17c.zip u-boot-imx-6a879ec8e7ac9905ad10b98e9cd585622c64b17c.tar.gz u-boot-imx-6a879ec8e7ac9905ad10b98e9cd585622c64b17c.tar.bz2 |
mmc: sdhci: remove the unused argument for sdhci_setup_cfg
buswidth isn't used anywhere in sdhci_setup_cfg.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mmc/sdhci.c')
-rw-r--r-- | drivers/mmc/sdhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 4112223..c275314 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -511,7 +511,7 @@ static const struct mmc_ops sdhci_ops = { }; #endif -int sdhci_setup_cfg(struct mmc_config *cfg, const char *name, int buswidth, +int sdhci_setup_cfg(struct mmc_config *cfg, const char *name, uint caps, u32 max_clk, u32 min_clk, uint version, uint quirks, uint host_caps) { @@ -582,7 +582,7 @@ int add_sdhci(struct sdhci_host *host, u32 max_clk, u32 min_clk) } #endif - if (sdhci_setup_cfg(&host->cfg, host->name, host->bus_width, caps, + if (sdhci_setup_cfg(&host->cfg, host->name, caps, max_clk, min_clk, SDHCI_GET_VERSION(host), host->quirks, host->host_caps)) { printf("%s: Hardware doesn't specify base clock frequency\n", |