PM / Runtime: Export the PM runtime workqueue
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 3 Dec 2009 19:22:21 +0000 (20:22 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 6 Dec 2009 15:17:56 +0000 (16:17 +0100)
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>
kernel/power/main.c

index 347d2cc88cd0e1a824f1004c4288d5d4a8e2959c..0998c7139053c8c5ec46165d32327bba42f2ecce 100644 (file)
@@ -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)
 {