diff options
Diffstat (limited to 'include/configs/ls1021atsn.h')
-rw-r--r-- | include/configs/ls1021atsn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ls1021atsn.h b/include/configs/ls1021atsn.h index 996c970ec8..f76d5a1bd7 100644 --- a/include/configs/ls1021atsn.h +++ b/include/configs/ls1021atsn.h @@ -104,7 +104,7 @@ #define CONFIG_SYS_NS16550_CLK get_serial_clock() /* I2C */ -#ifndef CONFIG_DM_I2C +#if !CONFIG_IS_ENABLED(DM_I2C) #define CONFIG_SYS_I2C #else #define CONFIG_I2C_SET_DEFAULT_BUS_NUM |