summaryrefslogtreecommitdiff
path: root/power/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/common.c')
-rw-r--r--power/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/common.c b/power/common.c
index 64a434b1d8..0f83a2ce61 100644
--- a/power/common.c
+++ b/power/common.c
@@ -1020,7 +1020,7 @@ host_command_hibernation_delay(struct host_cmd_handler_args *args)
r->hibernate_delay = hibernate_delay;
args->response_size = sizeof(struct ec_response_hibernation_delay);
- return EC_SUCCESS;
+ return EC_RES_SUCCESS;
}
DECLARE_HOST_COMMAND(EC_CMD_HIBERNATION_DELAY,
host_command_hibernation_delay,