summaryrefslogtreecommitdiffstats
path: root/include/configs/ls1043a_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/ls1043a_common.h')
-rw-r--r--include/configs/ls1043a_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 4e3e1a946b..29a3790c45 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -149,7 +149,7 @@
#endif
/* I2C */
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */