diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2009-12-03 14:22:21 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-12-06 10:17:56 -0500 |
commit | 7b199ca2025f4756daceec8802f07da636c524c9 (patch) | |
tree | 3951be7dc828cca1d5b4b68180cabe965e60cd83 /kernel | |
parent | bab636b921017f0db6e0c2979438f50b898a9808 (diff) |
PM / Runtime: Export the PM runtime workqueue
This patch (as1306) exports the PM runtime workqueue for use by
loadable modules.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index 347d2cc88cd0..0998c7139053 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c | |||
@@ -220,6 +220,7 @@ static struct attribute_group attr_group = { | |||
220 | 220 | ||
221 | #ifdef CONFIG_PM_RUNTIME | 221 | #ifdef CONFIG_PM_RUNTIME |
222 | struct workqueue_struct *pm_wq; | 222 | struct workqueue_struct *pm_wq; |
223 | EXPORT_SYMBOL_GPL(pm_wq); | ||
223 | 224 | ||
224 | static int __init pm_start_workqueue(void) | 225 | static int __init pm_start_workqueue(void) |
225 | { | 226 | { |