summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-06-20 12:54:41 -0600
committerTom Rini <[email protected]>2025-06-20 12:57:47 -0600
commitdbf7fd557a73ded3141db3c2cf5c572989378825 (patch)
tree3ddc26559c485e357e1d0a72d8ec2551250831cf /drivers/mmc
parent73fd2456231fe12db3bd5dbdab3f9f62bd8e643d (diff)
parent224224c9fa287bed428d5c507b8926357191848a (diff)
Merge patch series "Consistent Kconfig environment options CONFIG_ENV_ prefix"
Marek Vasut <[email protected]> says: Rename the environment related variables and add ENV_ prefix, so that all configuration options which are related to environment would have an CONFIG_ENV_ prefix. No functional change. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 9421a846e45..2c1f4f9c336 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -3278,8 +3278,8 @@ int mmc_set_bkops_enable(struct mmc *mmc, bool autobkops, bool enable)
__weak int mmc_get_env_dev(void)
{
-#ifdef CONFIG_SYS_MMC_ENV_DEV
- return CONFIG_SYS_MMC_ENV_DEV;
+#ifdef CONFIG_ENV_MMC_DEVICE_INDEX
+ return CONFIG_ENV_MMC_DEVICE_INDEX;
#else
return 0;
#endif