aboutsummaryrefslogtreecommitdiff
path: root/include/config_fallbacks.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-28 18:51:16 -0400
committerTom Rini <trini@konsulko.com>2021-07-28 18:51:16 -0400
commitbbcacdf4cd23f2e5deb9ef916096c956c955243d (patch)
tree3065b9346139a0f30bc3f9e77f1ee27e8fba3fdd /include/config_fallbacks.h
parent22ecb12132a2de80a08654f139ff978176034c38 (diff)
parent537892065ac1428a48193d4b0fa7bf827e8d0d44 (diff)
Merge branch '2021-07-28-build-improvements'
- Assorted Makefile cleanups - A few code / build cleanups
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r--include/config_fallbacks.h4
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