From: Alan Stern Date: Thu, 3 Dec 2009 19:22:21 +0000 (+0100) Subject: PM / Runtime: Export the PM runtime workqueue X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7b199ca2025f4756daceec8802f07da636c524c9;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Rafael J. Wysocki --- 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) {