summaryrefslogtreecommitdiff
path: root/common/ap_hang_detect.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ap_hang_detect.c')
-rw-r--r--common/ap_hang_detect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/ap_hang_detect.c b/common/ap_hang_detect.c
index c8d148dfb8..0c9e7a186d 100644
--- a/common/ap_hang_detect.c
+++ b/common/ap_hang_detect.c
@@ -159,7 +159,8 @@ DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, hang_detect_shutdown, HOOK_PRIO_DEFAULT);
/*****************************************************************************/
/* Host command */
-static int hang_detect_host_command(struct host_cmd_handler_args *args)
+static enum ec_status
+hang_detect_host_command(struct host_cmd_handler_args *args)
{
const struct ec_params_hang_detect *p = args->params;