summaryrefslogtreecommitdiffstats
path: root/kernel/power/autosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/autosleep.c')
-rw-r--r--kernel/power/autosleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/autosleep.c b/kernel/power/autosleep.c
index 41e83a779e19..9af5a50d3489 100644
--- a/kernel/power/autosleep.c
+++ b/kernel/power/autosleep.c
@@ -116,7 +116,7 @@ int pm_autosleep_set_state(suspend_state_t state)
int __init pm_autosleep_init(void)
{
- autosleep_ws = wakeup_source_register("autosleep");
+ autosleep_ws = wakeup_source_register(NULL, "autosleep");
if (!autosleep_ws)
return -ENOMEM;