diff options
Diffstat (limited to 'env/mmc.c')
-rw-r--r-- | env/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/mmc.c b/env/mmc.c index 6f11deccb12..bf7015cd142 100644 --- a/env/mmc.c +++ b/env/mmc.c @@ -158,7 +158,7 @@ static const char *init_mmc_for_env(struct mmc *mmc) if (!mmc) return "!No MMC card found"; -#ifdef CONFIG_BLK +#if CONFIG_IS_ENABLED(BLK) struct udevice *dev; if (blk_get_from_parent(mmc->dev, &dev)) |