]> 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)
commit7dde1b79a49ea3d88ee1cb12aa37d5bd424eca08
tree823c538d2404323cd493dedcde08d41e166f8894
parentf47b9824ee6f6b309b2081f5eb442a9bd6ee9846
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