]> git.baikalelectronics.ru Git - kernel.git/commit
PM: sleep: include <linux/pm_runtime.h> for pm_wq
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 8 Oct 2019 10:46:46 +0000 (11:46 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Oct 2019 09:11:56 +0000 (11:11 +0200)
commit43fb9c1521df57f47bdce741078d3524613ef1bd
tree17ced0f7c93840868780822f039d19a19b1b442c
parent14e67e7cd893d5b1fb3b02065580e66f2c5e8f32
PM: sleep: include <linux/pm_runtime.h> for pm_wq

Include the <linux/runtime_pm.h> for the definition of
pm_wq to avoid the following warning:

kernel/power/main.c:890:25: warning: symbol 'pm_wq' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/main.c