]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mmc/tegra_mmc.c
of: clean up OF_CONTROL ifdef conditionals
[people/ms/u-boot.git] / drivers / mmc / tegra_mmc.c
index 6f8b4d00a2cf0cd9375c45b40a2d22c0e1fc2046..15848658e1197de620afc64c09cd211ecd59a2b5 100644 (file)
@@ -21,7 +21,7 @@ DECLARE_GLOBAL_DATA_PTR;
 
 struct mmc_host mmc_host[CONFIG_SYS_MMC_MAX_DEVICE];
 
-#ifndef CONFIG_OF_CONTROL
+#if !CONFIG_IS_ENABLED(OF_CONTROL)
 #error "Please enable device tree support to use this driver"
 #endif