summaryrefslogtreecommitdiff
path: root/common/device_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/device_event.c')
-rw-r--r--common/device_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/device_event.c b/common/device_event.c
index 3cb81abb6f..ab11c0826c 100644
--- a/common/device_event.c
+++ b/common/device_event.c
@@ -102,7 +102,7 @@ DECLARE_CONSOLE_COMMAND(deviceevent, command_device_event,
/*****************************************************************************/
/* Host commands */
-static int device_event_cmd(struct host_cmd_handler_args *args)
+static enum ec_status device_event_cmd(struct host_cmd_handler_args *args)
{
const struct ec_params_device_event *p = args->params;
struct ec_response_device_event *r = args->response;