summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c
index 5bbe6f8a55..458327a3c2 100644
--- a/common/main.c
+++ b/common/main.c
@@ -181,7 +181,7 @@ test_mockable __keep int main(void)
#ifdef CONFIG_HOSTCMD_X86
lpc_init_mask();
#endif
- if (IS_ENABLED(CONFIG_I2C_MASTER)) {
+ if (IS_ENABLED(CONFIG_I2C_CONTROLLER)) {
/*
* Some devices (like the I2C keyboards, CBI) need I2C access
* pretty early, so let's initialize the controller now.