diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-01-21 19:02:27 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-24 14:37:02 -0500 |
commit | 7bc088d38f92f58df97e1cd9a8430331ee5491bb (patch) | |
tree | 21e778f5fc8a110eb6d7ce2e1c5b0248cdd4c147 /drivers/mmc/host/sdhci-tegra.c | |
parent | 2a15f981aec7c6b800c0d285ee1a63acc8487b9b (diff) | |
download | op-kernel-dev-7bc088d38f92f58df97e1cd9a8430331ee5491bb.zip op-kernel-dev-7bc088d38f92f58df97e1cd9a8430331ee5491bb.tar.gz |
mmc: sdhci: rename platform_8bit_width to platform_bus_width
The 8bit in the function name is misleading. When set, it will be
used to set the bus width, regardless of whether 8bit or another
bus width is requested, so change the function name to
platform_bus_width.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-tegra.c')
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 3695b2e..5a600a5 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -143,7 +143,7 @@ static void tegra_sdhci_reset_exit(struct sdhci_host *host, u8 mask) } } -static int tegra_sdhci_8bit(struct sdhci_host *host, int bus_width) +static int tegra_sdhci_buswidth(struct sdhci_host *host, int bus_width) { struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); struct sdhci_tegra *tegra_host = pltfm_host->priv; @@ -170,7 +170,7 @@ static struct sdhci_ops tegra_sdhci_ops = { .read_l = tegra_sdhci_readl, .read_w = tegra_sdhci_readw, .write_l = tegra_sdhci_writel, - .platform_8bit_width = tegra_sdhci_8bit, + .platform_bus_width = tegra_sdhci_buswidth, .platform_reset_exit = tegra_sdhci_reset_exit, }; |