summaryrefslogtreecommitdiff
path: root/common/system_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/system_common.c')
-rw-r--r--common/system_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/system_common.c b/common/system_common.c
index 7d05eb355d..b47c9e318c 100644
--- a/common/system_common.c
+++ b/common/system_common.c
@@ -863,7 +863,7 @@ int host_command_reboot(struct host_cmd_handler_args *args)
return EC_RES_SUCCESS;
}
-#ifdef CONFIG_TASK_HOSTCMD
+#ifdef HAS_TASK_HOSTCMD
if (p.cmd == EC_REBOOT_JUMP_RO ||
p.cmd == EC_REBOOT_JUMP_RW ||
p.cmd == EC_REBOOT_COLD ||