diff --git a/kernel/power/main.c b/kernel/power/main.c index 62b0bc6e4983cfdec1a2b4feb0f34d2235781ad6..0a28d4db35972d21cba44b276f1db88ce665cc08 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -308,7 +308,7 @@ EXPORT_SYMBOL_GPL(pm_wq); static int __init pm_start_workqueue(void) { - pm_wq = create_freezeable_workqueue("pm"); + pm_wq = alloc_workqueue("pm", WQ_FREEZEABLE, 0); return pm_wq ? 0 : -ENOMEM; }