aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-11-18 08:29:01 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-12-05 12:15:56 +0100
commitcb7595225ab725db4a0cf24981d1d12882fd65e7 (patch)
treefca42f59bc5f9e3b1c900b005958b699a5aeae90
parentPM: sleep: autosleep: don't include 'pm_wakeup.h' directly (diff)
downloadwireguard-linux-cb7595225ab725db4a0cf24981d1d12882fd65e7.tar.xz
wireguard-linux-cb7595225ab725db4a0cf24981d1d12882fd65e7.zip
PM: sleep: sysfs: don't include 'pm_wakeup.h' directly
The header clearly states that it does not want to be included directly, only via 'device.h'. 'platform_device.h' works equally well. Remove the direct inclusion. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://patch.msgid.link/20241118072917.3853-3-wsa+renesas@sang-engineering.com [ rjw: Subject edit ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/base/power/sysfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c
index f8163b559bf9..f84018125b46 100644
--- a/drivers/base/power/sysfs.c
+++ b/drivers/base/power/sysfs.c
@@ -6,7 +6,6 @@
#include <linux/export.h>
#include <linux/pm_qos.h>
#include <linux/pm_runtime.h>
-#include <linux/pm_wakeup.h>
#include <linux/atomic.h>
#include <linux/jiffies.h>
#include "power.h"