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 4637662220..6202c5d4d3 100644
--- a/common/main.c
+++ b/common/main.c
@@ -151,7 +151,7 @@ test_mockable __keep int main(void)
* done, lpc always report mask needs to be initialized
* correctly.
*/
-#ifdef CONFIG_HOSTCMD_X86
+#ifdef CONFIG_LPC
lpc_init_mask();
#endif
if (IS_ENABLED(CONFIG_I2C_CONTROLLER)) {