aboutsummaryrefslogtreecommitdiff
path: root/common/stdio.c
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 /common/stdio.c
parent22ecb12132a2de80a08654f139ff978176034c38 (diff)
parent537892065ac1428a48193d4b0fa7bf827e8d0d44 (diff)
Merge branch '2021-07-28-build-improvements'
- Assorted Makefile cleanups - A few code / build cleanups
Diffstat (limited to 'common/stdio.c')
-rw-r--r--common/stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stdio.c b/common/stdio.c
index d4acc5256c..4083e4edb8 100644
--- a/common/stdio.c
+++ b/common/stdio.c
@@ -336,7 +336,7 @@ int stdio_add_devices(void)
dev->name);
}
}
-#ifdef CONFIG_SYS_I2C
+#ifdef CONFIG_SYS_I2C_LEGACY
i2c_init_all();
#endif
if (IS_ENABLED(CONFIG_DM_VIDEO)) {