]> Git Repo - J-u-boot.git/blobdiff - arch/arm/mach-omap2/clocks-common.c
dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO
[J-u-boot.git] / arch / arm / mach-omap2 / clocks-common.c
index f968a26d640b01a4c7e0b5675262e78cffa9e9d7..14b638a65136c5a5a6e92508bb737edf616a7917 100644 (file)
@@ -16,6 +16,7 @@
 #include <hang.h>
 #include <i2c.h>
 #include <init.h>
+#include <log.h>
 #include <asm/omap_common.h>
 #include <asm/gpio.h>
 #include <asm/arch/clock.h>
@@ -911,7 +912,7 @@ void prcm_init(void)
                enable_basic_uboot_clocks();
 }
 
-#if !defined(CONFIG_DM_I2C)
+#if !CONFIG_IS_ENABLED(DM_I2C)
 void gpi2c_init(void)
 {
        static int gpi2c = 1;
This page took 0.026587 seconds and 4 git commands to generate.