[PATCH RESEND] coresight: etm4x: don't include '<linux/pm_wakeup.h>' directly

Wolfram Sang posted 1 patch 10 months, 1 week ago
drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 -
1 file changed, 1 deletion(-)
[PATCH RESEND] coresight: etm4x: 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>
Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com>
---
 drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c b/drivers/hwtracing/coresight/coresight-etm4x-core.c
index 2c1a60577728..bdb9262798cc 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x-core.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x-core.c
@@ -24,7 +24,6 @@
 #include <linux/cpu_pm.h>
 #include <linux/coresight.h>
 #include <linux/coresight-pmu.h>
-#include <linux/pm_wakeup.h>
 #include <linux/amba/bus.h>
 #include <linux/seq_file.h>
 #include <linux/uaccess.h>
-- 
2.45.2
Re: [PATCH RESEND] coresight: etm4x: don't include '<linux/pm_wakeup.h>' directly
Posted by Suzuki K Poulose 9 months, 3 weeks ago
On Mon, 10 Feb 2025 12:36:36 +0100, Wolfram Sang wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] coresight: etm4x: don't include '<linux/pm_wakeup.h>' directly
      commit: b2d67616fcf9f0a21940b2ba8d80af2fb0c81bc1

Best regards,
-- 
Suzuki K Poulose <suzuki.poulose@arm.com>