projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2189624
)
PM: sleep: include <linux/pm_runtime.h> for pm_wq
author
Ben Dooks
<ben.dooks@codethink.co.uk>
Tue, 8 Oct 2019 10:46:46 +0000
(11:46 +0100)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 10 Oct 2019 09:11:56 +0000
(11:11 +0200)
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
patch
|
blob
|
history
diff --git
a/kernel/power/main.c
b/kernel/power/main.c
index
e8710d1
..
e26de7a
100644
(file)
--- 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"