Fix the implicit-function declaration error.

Signed-off-by: Jaehoon Chung <jh80.ch...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to