diff options
Diffstat (limited to 'kernel/power/main.c')
-rw-r--r-- | kernel/power/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index 7b5db6a8561e..8eaba5f27b10 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c | |||
@@ -17,9 +17,6 @@ | |||
17 | 17 | ||
18 | DEFINE_MUTEX(pm_mutex); | 18 | DEFINE_MUTEX(pm_mutex); |
19 | 19 | ||
20 | unsigned int pm_flags; | ||
21 | EXPORT_SYMBOL(pm_flags); | ||
22 | |||
23 | #ifdef CONFIG_PM_SLEEP | 20 | #ifdef CONFIG_PM_SLEEP |
24 | 21 | ||
25 | /* Routines for PM-transition notifications */ | 22 | /* Routines for PM-transition notifications */ |
@@ -326,7 +323,7 @@ EXPORT_SYMBOL_GPL(pm_wq); | |||
326 | 323 | ||
327 | static int __init pm_start_workqueue(void) | 324 | static int __init pm_start_workqueue(void) |
328 | { | 325 | { |
329 | pm_wq = alloc_workqueue("pm", WQ_FREEZEABLE, 0); | 326 | pm_wq = alloc_workqueue("pm", WQ_FREEZABLE, 0); |
330 | 327 | ||
331 | return pm_wq ? 0 : -ENOMEM; | 328 | return pm_wq ? 0 : -ENOMEM; |
332 | } | 329 | } |