summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2019-10-08 11:46:46 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-10-10 11:11:56 +0200
commitf49249d58abdc12067d69f15d509487171148b30 (patch)
tree17ced0f7c93840868780822f039d19a19b1b442c /kernel
parent2189624b3c5a6fb03416129e35c09aa5151b7392 (diff)
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')
-rw-r--r--kernel/power/main.c1
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"