summaryrefslogtreecommitdiff
path: root/common/lid_switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/lid_switch.c')
-rw-r--r--common/lid_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lid_switch.c b/common/lid_switch.c
index 4b0da4d92d..2528e00092 100644
--- a/common/lid_switch.c
+++ b/common/lid_switch.c
@@ -151,7 +151,7 @@ DECLARE_CONSOLE_COMMAND(lidstate, command_lidstate,
/**
* Host command to enable/disable lid opened.
*/
-static int hc_force_lid_open(struct host_cmd_handler_args *args)
+static enum ec_status hc_force_lid_open(struct host_cmd_handler_args *args)
{
const struct ec_params_force_lid_open *p = args->params;