summaryrefslogtreecommitdiff
path: root/common/backlight_lid.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/backlight_lid.c')
-rw-r--r--common/backlight_lid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/backlight_lid.c b/common/backlight_lid.c
index 2a10fe61fc..3b857df592 100644
--- a/common/backlight_lid.c
+++ b/common/backlight_lid.c
@@ -69,7 +69,8 @@ void backlight_interrupt(enum gpio_signal signal)
* The requested state will persist until the next lid-switch or request-gpio
* transition.
*/
-static int switch_command_enable_backlight(struct host_cmd_handler_args *args)
+static enum ec_status
+switch_command_enable_backlight(struct host_cmd_handler_args *args)
{
const struct ec_params_switch_enable_backlight *p = args->params;