aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-s3c.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-21 06:02:27 -0500
committerChris Ball <cjb@laptop.org>2013-02-24 14:37:02 -0500
commit7bc088d38f92f58df97e1cd9a8430331ee5491bb (patch)
tree21e778f5fc8a110eb6d7ce2e1c5b0248cdd4c147 /drivers/mmc/host/sdhci-s3c.c
parent2a15f981aec7c6b800c0d285ee1a63acc8487b9b (diff)
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-s3c.c')
-rw-r--r--drivers/mmc/host/sdhci-s3c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 82a8de148a8f..b16dae00cfd4 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -332,14 +332,14 @@ static void sdhci_cmu_set_clock(struct sdhci_host *host, unsigned int clock)
332} 332}
333 333
334/** 334/**
335 * sdhci_s3c_platform_8bit_width - support 8bit buswidth 335 * sdhci_s3c_platform_bus_width - support 8bit buswidth
336 * @host: The SDHCI host being queried 336 * @host: The SDHCI host being queried
337 * @width: MMC_BUS_WIDTH_ macro for the bus width being requested 337 * @width: MMC_BUS_WIDTH_ macro for the bus width being requested
338 * 338 *
339 * We have 8-bit width support but is not a v3 controller. 339 * We have 8-bit width support but is not a v3 controller.
340 * So we add platform_8bit_width() and support 8bit width. 340 * So we add platform_bus_width() and support 8bit width.
341 */ 341 */
342static int sdhci_s3c_platform_8bit_width(struct sdhci_host *host, int width) 342static int sdhci_s3c_platform_bus_width(struct sdhci_host *host, int width)
343{ 343{
344 u8 ctrl; 344 u8 ctrl;
345 345
@@ -369,7 +369,7 @@ static struct sdhci_ops sdhci_s3c_ops = {
369 .get_max_clock = sdhci_s3c_get_max_clk, 369 .get_max_clock = sdhci_s3c_get_max_clk,
370 .set_clock = sdhci_s3c_set_clock, 370 .set_clock = sdhci_s3c_set_clock,
371 .get_min_clock = sdhci_s3c_get_min_clock, 371 .get_min_clock = sdhci_s3c_get_min_clock,
372 .platform_8bit_width = sdhci_s3c_platform_8bit_width, 372 .platform_bus_width = sdhci_s3c_platform_bus_width,
373}; 373};
374 374
375static void sdhci_s3c_notify_change(struct platform_device *dev, int state) 375static void sdhci_s3c_notify_change(struct platform_device *dev, int state)