]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/exynos_dp_lowlevel.c
nios2: enable malloc() pool before relocation
[u-boot] / drivers / video / exynos_dp_lowlevel.c
index 05118f801b33403b235cdf6df843529c7edf3df0..e9b461a99a935775c8b59e19e8f4a63c49d1e3e5 100644 (file)
@@ -22,7 +22,7 @@ struct exynos_dp *dp_regs;
 
 void exynos_dp_set_base_addr(void)
 {
-#ifdef CONFIG_OF_CONTROL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
        unsigned int node = fdtdec_next_compatible(gd->fdt_blob,
                                        0, COMPAT_SAMSUNG_EXYNOS5_DP);
        if (node <= 0)