Skip to content

Commit f49249d

Browse files
bjdooks-ctrafaeljw
authored andcommitted
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 2189624 commit f49249d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/power/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <linux/seq_file.h>
1616
#include <linux/suspend.h>
1717
#include <linux/syscalls.h>
18+
#include <linux/pm_runtime.h>
1819

1920
#include "power.h"
2021

0 commit comments

Comments
 (0)