diff options
-rw-r--r-- | chip/npcx/lpc.c | 2 | ||||
-rw-r--r-- | common/power_button_x86.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/lpc.c b/chip/npcx/lpc.c index adf78b642d..4eee50d714 100644 --- a/chip/npcx/lpc.c +++ b/chip/npcx/lpc.c @@ -964,7 +964,7 @@ static enum ec_status lpc_get_protocol_info(struct host_cmd_handler_args *args) args->response_size = sizeof(*r); - return EC_SUCCESS; + return EC_RES_SUCCESS; } DECLARE_HOST_COMMAND(EC_CMD_GET_PROTOCOL_INFO, lpc_get_protocol_info, diff --git a/common/power_button_x86.c b/common/power_button_x86.c index 661f9b2a3d..b87088e01d 100644 --- a/common/power_button_x86.c +++ b/common/power_button_x86.c @@ -520,7 +520,7 @@ static enum ec_status hc_config_powerbtn_x86(struct host_cmd_handler_args *args) power_button_pulse_enabled = !!(p->flags & EC_POWER_BUTTON_ENABLE_PULSE); - return EC_SUCCESS; + return EC_RES_SUCCESS; } DECLARE_HOST_COMMAND(EC_CMD_CONFIG_POWER_BUTTON, hc_config_powerbtn_x86, EC_VER_MASK(0)); |