summaryrefslogtreecommitdiff
path: root/common/peripheral.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/peripheral.c')
-rw-r--r--common/peripheral.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/peripheral.c b/common/peripheral.c
index f45a13ff19..686368fd02 100644
--- a/common/peripheral.c
+++ b/common/peripheral.c
@@ -10,7 +10,7 @@
#include "usb_pd_tcpm.h"
#ifdef CONFIG_HOSTCMD_LOCATE_CHIP
-static int hc_locate_chip(struct host_cmd_handler_args *args)
+static enum ec_status hc_locate_chip(struct host_cmd_handler_args *args)
{
const struct ec_params_locate_chip *params = args->params;
struct ec_response_locate_chip *resp = args->response;