summaryrefslogtreecommitdiff
path: root/common/host_command_pd.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/host_command_pd.c')
-rw-r--r--common/host_command_pd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/host_command_pd.c b/common/host_command_pd.c
index a02fd754c4..3f0f83c4b2 100644
--- a/common/host_command_pd.c
+++ b/common/host_command_pd.c
@@ -235,7 +235,8 @@ void pd_command_task(void *u)
*/
static uint32_t pd_host_event_status __aligned(4);
-static int hc_pd_host_event_status(struct host_cmd_handler_args *args)
+static enum ec_status
+hc_pd_host_event_status(struct host_cmd_handler_args *args)
{
struct ec_response_host_event_status *r = args->response;