summaryrefslogtreecommitdiff
path: root/common/usb_port_power_dumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usb_port_power_dumb.c')
-rw-r--r--common/usb_port_power_dumb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/usb_port_power_dumb.c b/common/usb_port_power_dumb.c
index a005e19262..5cdf6005a6 100644
--- a/common/usb_port_power_dumb.c
+++ b/common/usb_port_power_dumb.c
@@ -69,7 +69,8 @@ int usb_charge_set_mode(int port_id, enum usb_charge_mode mode,
return EC_SUCCESS;
}
-static int usb_port_command_set_mode(struct host_cmd_handler_args *args)
+static enum ec_status
+usb_port_command_set_mode(struct host_cmd_handler_args *args)
{
const struct ec_params_usb_charge_set_mode *p = args->params;