summaryrefslogtreecommitdiff
path: root/common/power_button_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/power_button_x86.c')
-rw-r--r--common/power_button_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/power_button_x86.c b/common/power_button_x86.c
index 6909815972..e5772d2f68 100644
--- a/common/power_button_x86.c
+++ b/common/power_button_x86.c
@@ -504,7 +504,7 @@ DECLARE_HOOK(HOOK_POWER_BUTTON_CHANGE, powerbtn_x86_changed, HOOK_PRIO_DEFAULT);
/**
* Handle configuring the power button behavior through a host command
*/
-static int hc_config_powerbtn_x86(struct host_cmd_handler_args *args)
+static enum ec_status hc_config_powerbtn_x86(struct host_cmd_handler_args *args)
{
const struct ec_params_config_power_button *p = args->params;