]> git.baikalelectronics.ru Git - kernel.git/commit
PM: Create PM workqueue if runtime PM is not configured too
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jul 2014 23:00:36 +0000 (01:00 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jul 2014 23:00:36 +0000 (01:00 +0200)
commite0996b6e277a9f1224568fc82eb51c4785b3ed93
tree823c538d2404323cd493dedcde08d41e166f8894
parent524b1d071ee32d3981cf3ce0e68cbaa8e4849c62
PM: Create PM workqueue if runtime PM is not configured too

The PM workqueue is going to be used by ACPI PM notify handlers
regardless of whether or not runtime PM is configured, so move
it out of #ifdef CONFIG_PM_RUNTIME.

Do that in three places in the ACPI device PM code.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/pm_runtime.h
kernel/power/main.c