diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2019-10-08 11:46:46 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-10-10 11:11:56 +0200 |
commit | f49249d58abdc12067d69f15d509487171148b30 (patch) | |
tree | 17ced0f7c93840868780822f039d19a19b1b442c /kernel/power/main.c | |
parent | 2189624b3c5a6fb03416129e35c09aa5151b7392 (diff) | |
download | linux-f49249d58abdc12067d69f15d509487171148b30.tar.gz linux-f49249d58abdc12067d69f15d509487171148b30.tar.bz2 linux-f49249d58abdc12067d69f15d509487171148b30.zip |
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>
Diffstat (limited to 'kernel/power/main.c')
-rw-r--r-- | kernel/power/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index e8710d179b35..e26de7af520b 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c @@ -15,6 +15,7 @@ #include <linux/seq_file.h> #include <linux/suspend.h> #include <linux/syscalls.h> +#include <linux/pm_runtime.h> #include "power.h" |