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 58f01812ef..6adea9b049 100644
--- a/common/main.c
+++ b/common/main.c
@@ -160,7 +160,7 @@ test_mockable __keep int main(void)
* done, lpc always report mask needs to be initialized
* correctly.
*/
-#ifdef CONFIG_LPC
+#ifdef CONFIG_HOSTCMD_X86
lpc_init_mask();
#endif
#ifdef HAS_TASK_KEYSCAN