@@ -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);
@@ -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
};
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(-)