[PATCH RESEND] x86/platform/olpc-xo1-sci: don't include '<linux/pm_wakeup.h>' directly

Wolfram Sang posted 1 patch 10 months, 1 week ago
arch/x86/platform/olpc/olpc-xo1-sci.c | 1 -
1 file changed, 1 deletion(-)
[PATCH RESEND] x86/platform/olpc-xo1-sci: don't include '<linux/pm_wakeup.h>' directly
Posted by Wolfram Sang 10 months, 1 week ago
The header clearly states that it does not want to be included directly,
only via '<linux/(platform_)?device.h>'. Which is already present, so
delete the superfluous include.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/x86/platform/olpc/olpc-xo1-sci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/platform/olpc/olpc-xo1-sci.c b/arch/x86/platform/olpc/olpc-xo1-sci.c
index ccb23c73cbe8..63066e7c8517 100644
--- a/arch/x86/platform/olpc/olpc-xo1-sci.c
+++ b/arch/x86/platform/olpc/olpc-xo1-sci.c
@@ -14,7 +14,6 @@
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
-#include <linux/pm_wakeup.h>
 #include <linux/power_supply.h>
 #include <linux/suspend.h>
 #include <linux/workqueue.h>
-- 
2.45.2
[tip: x86/platform] x86/platform/olpc-xo1-sci: Don't include <linux/pm_wakeup.h> directly
Posted by tip-bot2 for Wolfram Sang 9 months, 3 weeks ago
The following commit has been merged into the x86/platform branch of tip:

Commit-ID:     000894d8fc0d787b52a46339f297e20c024a6ca5
Gitweb:        https://git.kernel.org/tip/000894d8fc0d787b52a46339f297e20c024a6ca5
Author:        Wolfram Sang <wsa+renesas@sang-engineering.com>
AuthorDate:    Mon, 10 Feb 2025 12:34:54 +01:00
Committer:     Ingo Molnar <mingo@kernel.org>
CommitterDate: Fri, 21 Feb 2025 16:45:00 +01:00

x86/platform/olpc-xo1-sci: Don't include <linux/pm_wakeup.h> directly

The header clearly states that it does not want to be included directly,
only via <linux/(platform_)?device.h>. Which is already present, so
delete the superfluous include.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20250210113453.51825-2-wsa+renesas@sang-engineering.com
---
 arch/x86/platform/olpc/olpc-xo1-sci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/platform/olpc/olpc-xo1-sci.c b/arch/x86/platform/olpc/olpc-xo1-sci.c
index ccb23c7..63066e7 100644
--- a/arch/x86/platform/olpc/olpc-xo1-sci.c
+++ b/arch/x86/platform/olpc/olpc-xo1-sci.c
@@ -14,7 +14,6 @@
 #include <linux/interrupt.h>
 #include <linux/platform_device.h>
 #include <linux/pm.h>
-#include <linux/pm_wakeup.h>
 #include <linux/power_supply.h>
 #include <linux/suspend.h>
 #include <linux/workqueue.h>