summaryrefslogtreecommitdiff
path: root/kernel/power/main.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-12-03 19:22:21 (GMT)
committerRafael J. Wysocki <rjw@sisk.pl>2009-12-06 15:17:56 (GMT)
commit7b199ca2025f4756daceec8802f07da636c524c9 (patch)
tree3951be7dc828cca1d5b4b68180cabe965e60cd83 /kernel/power/main.c
parentbab636b921017f0db6e0c2979438f50b898a9808 (diff)
downloadlinux-7b199ca2025f4756daceec8802f07da636c524c9.tar.xz
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/power/main.c')
-rw-r--r--kernel/power/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c
index 347d2cc..0998c71 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -220,6 +220,7 @@ static struct attribute_group attr_group = {
#ifdef CONFIG_PM_RUNTIME
struct workqueue_struct *pm_wq;
+EXPORT_SYMBOL_GPL(pm_wq);
static int __init pm_start_workqueue(void)
{