summaryrefslogtreecommitdiff
path: root/include/configs/ls2080a_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/ls2080a_common.h')
-rw-r--r--include/configs/ls2080a_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 1042555a8c..2ed6584073 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -74,7 +74,7 @@
#endif
/* I2C */
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
#define CONFIG_SYS_I2C
#endif