diff options
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r-- | include/config_fallbacks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index a318926fe8..aaf016c045 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -47,8 +47,8 @@ #endif #if CONFIG_IS_ENABLED(DM_I2C) -# ifdef CONFIG_SYS_I2C -# error "Cannot define CONFIG_SYS_I2C when CONFIG_DM_I2C is used" +# ifdef CONFIG_SYS_I2C_LEGACY +# error "Cannot define CONFIG_SYS_I2C_LEGACY when CONFIG_DM_I2C is used" # endif #endif |