From: Wolfram Sang Date: Mon, 18 Nov 2024 07:29:01 +0000 (+0100) Subject: PM: sleep: sysfs: don't include 'pm_wakeup.h' directly X-Git-Tag: v6.14-rc1~148^2~3^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb7595225ab725db4a0cf24981d1d12882fd65e7;p=thirdparty%2Fkernel%2Flinux.git 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 Link: https://patch.msgid.link/20241118072917.3853-3-wsa+renesas@sang-engineering.com [ rjw: Subject edit ] Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c index f8163b559bf99..f84018125b466 100644 --- a/drivers/base/power/sysfs.c +++ b/drivers/base/power/sysfs.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include "power.h"