All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mmc: uniphier-sd: fix the implicit-function declaration error
       [not found] <CGME20180404070735epcas2p38b1a0f7bc733ce68224b8553a64303da@epcas2p3.samsung.com>
@ 2018-04-04  7:07 ` Jaehoon Chung
  0 siblings, 0 replies; only message in thread
From: Jaehoon Chung @ 2018-04-04  7:07 UTC (permalink / raw)
  To: u-boot

Fix the implicit-function declaration error.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
---
 drivers/mmc/uniphier-sd-rcar.c | 2 +-
 drivers/mmc/uniphier-sd.c      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mmc/uniphier-sd-rcar.c b/drivers/mmc/uniphier-sd-rcar.c
index 894decd04d9..d9dfad7f3f4 100644
--- a/drivers/mmc/uniphier-sd-rcar.c
+++ b/drivers/mmc/uniphier-sd-rcar.c
@@ -225,7 +225,7 @@ static int uniphier_sd_select_tuning(struct uniphier_sd_priv *priv,
 	return 0;
 }
 
-#if CONFIG_IS_ENABLED(MMC_HS200_SUPPORT)
+#if CONFIG_IS_ENABLED(MMC_RENESAS_TUNING)
 int rcar_gen3_sd_execute_tuning(struct udevice *dev, uint opcode)
 {
 	struct uniphier_sd_priv *priv = dev_get_priv(dev);
diff --git a/drivers/mmc/uniphier-sd.c b/drivers/mmc/uniphier-sd.c
index 67c3b3693c0..3a8d86e4de5 100644
--- a/drivers/mmc/uniphier-sd.c
+++ b/drivers/mmc/uniphier-sd.c
@@ -27,7 +27,7 @@ struct uniphier_sd_plat {
 	struct mmc mmc;
 };
 
-#if CONFIG_IS_ENABLED(MMC_HS200_SUPPORT)
+#if CONFIG_IS_ENABLED(MMC_RENESAS_TUNING)
 static void uniphier_sd_reset_tuning(struct uniphier_sd_priv *priv)
 {
 	if (priv->caps & UNIPHIER_SD_CAP_RCAR_UHS)
@@ -676,7 +676,7 @@ static const struct dm_mmc_ops uniphier_sd_ops = {
 	.send_cmd = uniphier_sd_send_cmd,
 	.set_ios = uniphier_sd_set_ios,
 	.get_cd = uniphier_sd_get_cd,
-#if CONFIG_IS_ENABLED(MMC_HS200_SUPPORT)
+#if CONFIG_IS_ENABLED(MMC_RENESAS_TUNING)
 	.execute_tuning = uniphier_sd_execute_tuning,
 #endif
 };
-- 
2.15.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-04  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20180404070735epcas2p38b1a0f7bc733ce68224b8553a64303da@epcas2p3.samsung.com>
2018-04-04  7:07 ` [U-Boot] [PATCH] mmc: uniphier-sd: fix the implicit-function declaration error Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.