summaryrefslogtreecommitdiff
path: root/power/hibernate.c
diff options
context:
space:
mode:
Diffstat (limited to 'power/hibernate.c')
-rw-r--r--power/hibernate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/power/hibernate.c b/power/hibernate.c
index 46c842bce6..02e4728ad2 100644
--- a/power/hibernate.c
+++ b/power/hibernate.c
@@ -167,7 +167,7 @@ host_command_hibernation_delay(struct host_cmd_handler_args *args)
DECLARE_HOST_COMMAND(EC_CMD_HIBERNATION_DELAY, host_command_hibernation_delay,
EC_VER_MASK(0));
-static int hibernate_init(const struct device *unused)
+static int hibernate_init(void)
{
static struct ap_power_ev_callback cb;