summaryrefslogtreecommitdiff
path: root/common/ec_features.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ec_features.c')
-rw-r--r--common/ec_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ec_features.c b/common/ec_features.c
index 2a04a7c71e..aca031fbd0 100644
--- a/common/ec_features.c
+++ b/common/ec_features.c
@@ -58,7 +58,7 @@ uint32_t get_feature_flags0(void)
#ifdef CONFIG_COMMON_GPIO
| EC_FEATURE_MASK_0(EC_FEATURE_GPIO)
#endif
-#ifdef CONFIG_I2C_MASTER
+#ifdef CONFIG_I2C_CONTROLLER
| EC_FEATURE_MASK_0(EC_FEATURE_I2C)
#endif
#ifdef CONFIG_CHARGER