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: block-6.14-20240131~14^2~3^2~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=cb7595225ab725db4a0cf24981d1d12882fd65e7;p=linux-block.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 f8163b559bf9..f84018125b46 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"