summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-07-26 10:06:23 (GMT)
committerJaehoon Chung <jh80.chung@samsung.com>2016-08-05 02:21:25 (GMT)
commit6a879ec8e7ac9905ad10b98e9cd585622c64b17c (patch)
treea2177e9c00198c0bc1eae3de6cf7ebe6aacb0e15 /include/sdhci.h
parente1ea7c44d67dde263c13e1aef300cab408236994 (diff)
downloadu-boot-fsl-qoriq-6a879ec8e7ac9905ad10b98e9cd585622c64b17c.tar.xz
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index c4d3b55..693ecc1 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);