summaryrefslogtreecommitdiff
path: root/common/rollback.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/rollback.c')
-rw-r--r--common/rollback.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/rollback.c b/common/rollback.c
index 0c2c41c738..4654b21b64 100644
--- a/common/rollback.c
+++ b/common/rollback.c
@@ -460,7 +460,8 @@ out:
}
DECLARE_DEFERRED(add_entropy_deferred);
-static int hc_rollback_add_entropy(struct host_cmd_handler_args *args)
+static enum ec_status
+hc_rollback_add_entropy(struct host_cmd_handler_args *args)
{
const struct ec_params_rollback_add_entropy *p = args->params;
@@ -535,7 +536,8 @@ DECLARE_SAFE_CONSOLE_COMMAND(rollbackinfo, command_rollback_info,
NULL,
"Print rollback info");
-static int host_command_rollback_info(struct host_cmd_handler_args *args)
+static enum ec_status
+host_command_rollback_info(struct host_cmd_handler_args *args)
{
int ret = EC_RES_UNAVAILABLE;
struct ec_response_rollback_info *r = args->response;