浏览代码

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>
Alan Stern 15 年之前
父节点
当前提交
7b199ca202
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      kernel/power/main.c

+ 1 - 0
kernel/power/main.c

@@ -220,6 +220,7 @@ static struct attribute_group attr_group = {
 
 
 #ifdef CONFIG_PM_RUNTIME
 #ifdef CONFIG_PM_RUNTIME
 struct workqueue_struct *pm_wq;
 struct workqueue_struct *pm_wq;
+EXPORT_SYMBOL_GPL(pm_wq);
 
 
 static int __init pm_start_workqueue(void)
 static int __init pm_start_workqueue(void)
 {
 {