]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - lib/fdtdec.c
of: clean up OF_CONTROL ifdef conditionals
[karo-tx-uboot.git] / lib / fdtdec.c
index d21fb74c22de6e3501982a5288097b103fe6584f..b65e1e6185550e4651ebce5ecb46d50cecccf791 100644 (file)
@@ -1140,7 +1140,7 @@ int fdtdec_decode_display_timing(const void *blob, int parent, int index,
 
 int fdtdec_setup(void)
 {
-#ifdef CONFIG_OF_CONTROL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
 # ifdef CONFIG_OF_EMBED
        /* Get a pointer to the FDT */
        gd->fdt_blob = __dtb_dt_begin;