summaryrefslogtreecommitdiffstats
path: root/kernel
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
parentbab636b921017f0db6e0c2979438f50b898a9808 (diff)
downloadop-kernel-dev-7b199ca2025f4756daceec8802f07da636c524c9.zip
op-kernel-dev-7b199ca2025f4756daceec8802f07da636c524c9.tar.gz
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.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)
{
OpenPOWER on IntegriCloud