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)
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

index e8710d1..e26de7a 100644 (file)
@@ -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"