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 /include/sdhci.h | |
parent | e1ea7c44d67dde263c13e1aef300cab408236994 (diff) | |
download | u-boot-6a879ec8e7ac9905ad10b98e9cd585622c64b17c.tar.gz |
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 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index c4d3b552d1..693ecc144b 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -368,7 +368,6 @@ static inline u8 sdhci_readb(struct sdhci_host *host, int reg) * * @cfg: Configuration structure to fill in (generally &plat->mmc) * @name: Device name (normally dev->name) - * @buswidth: Bus width (in bits, such as 4 or 8) * @caps: Host capabilities (MMC_MODE_...) * @max_clk: Maximum supported clock speed in HZ (0 for default) * @min_clk: Minimum supported clock speed in HZ (0 for default) @@ -377,7 +376,7 @@ static inline u8 sdhci_readb(struct sdhci_host *host, int reg) * @quirks: Quick flags (SDHCI_QUIRK_...) * @host_caps: Additional host capabilities (0 if none) */ -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); |