diff options
Diffstat (limited to 'common/stdio.c')
-rw-r--r-- | common/stdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stdio.c b/common/stdio.c index 4083e4edb8..0f2eb6f0d6 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -336,7 +336,7 @@ int stdio_add_devices(void) dev->name); } } -#ifdef CONFIG_SYS_I2C_LEGACY +#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY) i2c_init_all(); #endif if (IS_ENABLED(CONFIG_DM_VIDEO)) { |