summaryrefslogtreecommitdiffstats
path: root/include/configs/ls1021aiot.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/ls1021aiot.h')
-rw-r--r--include/configs/ls1021aiot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h
index cf4d60ad60..e2ae6e46c0 100644
--- a/include/configs/ls1021aiot.h
+++ b/include/configs/ls1021aiot.h
@@ -98,7 +98,7 @@
* I2C
*/
-#ifndef CONFIG_DM_I2C
+#if !CONFIG_IS_ENABLED(DM_I2C)
#define CONFIG_SYS_I2C
#else
#define CONFIG_I2C_SET_DEFAULT_BUS_NUM