summaryrefslogtreecommitdiff
path: root/common/host_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/host_command.c')
-rw-r--r--common/host_command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/host_command.c b/common/host_command.c
index 0dae3bf036..97b8cc59cc 100644
--- a/common/host_command.c
+++ b/common/host_command.c
@@ -567,7 +567,7 @@ enum ec_status host_command_process(struct host_cmd_handler_args *args)
if (hcdebug)
host_command_debug_request(args);
-#ifdef HAS_TASK_PDCMD
+#ifdef CONFIG_HOSTCMD_PD
if (args->command >= EC_CMD_PASSTHRU_OFFSET(1) &&
args->command <= EC_CMD_PASSTHRU_MAX(1)) {
rv = pd_host_command(args->command - EC_CMD_PASSTHRU_OFFSET(1),
@@ -738,7 +738,7 @@ static int host_command_get_features(struct host_cmd_handler_args *args)
#ifdef CONFIG_PMU_POWERINFO
| EC_FEATURE_MASK_0(EC_FEATURE_PMU)
#endif
-#ifdef HAS_TASK_PDCMD
+#ifdef CONFIG_HOSTCMD_PD
| EC_FEATURE_MASK_0(EC_FEATURE_SUB_MCU)
#endif
#ifdef CONFIG_CHARGE_MANAGER