Skip to content

Commit

Permalink
PM / Runtime: Export the PM runtime workqueue
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Stern authored and Rafael J. Wysocki committed Dec 6, 2009
1 parent bab636b commit 7b199ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 7b199ca

Please sign in to comment.