diff options
Diffstat (limited to 'power/common.c')
-rw-r--r-- | power/common.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/power/common.c b/power/common.c index d6f74d9a1e..977d46a72f 100644 --- a/power/common.c +++ b/power/common.c @@ -813,7 +813,8 @@ DECLARE_CONSOLE_COMMAND(hibdelay, command_hibernation_delay, "[sec]", "Set the delay before going into hibernation"); -static int host_command_hibernation_delay(struct host_cmd_handler_args *args) +static enum ec_status +host_command_hibernation_delay(struct host_cmd_handler_args *args) { const struct ec_params_hibernation_delay *p = args->params; struct ec_response_hibernation_delay *r = args->response; @@ -848,7 +849,8 @@ DECLARE_HOST_COMMAND(EC_CMD_HIBERNATION_DELAY, #endif /* CONFIG_HIBERNATE */ #ifdef CONFIG_POWER_SHUTDOWN_PAUSE_IN_S5 -static int host_command_pause_in_s5(struct host_cmd_handler_args *args) +static enum ec_status +host_command_pause_in_s5(struct host_cmd_handler_args *args) { const struct ec_params_get_set_value *p = args->params; struct ec_response_get_set_value *r = args->response; |