summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-12-03 20:22:21 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2009-12-06 16:17:56 +0100
commit7b199ca2025f4756daceec8802f07da636c524c9 (patch)
tree3951be7dc828cca1d5b4b68180cabe965e60cd83 /kernel/power
parentbab636b921017f0db6e0c2979438f50b898a9808 (diff)
downloadlinux-7b199ca2025f4756daceec8802f07da636c524c9.tar.gz
linux-7b199ca2025f4756daceec8802f07da636c524c9.tar.bz2
linux-7b199ca2025f4756daceec8802f07da636c524c9.zip
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')
-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 347d2cc88cd0..0998c7139053 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)
{