Skip to contentSkip to conversation

net: wwan: t7xx: don't include '<linux/pm_wakeup.h>' directly

PATCH RESEND Applied Wolfram Sang 2 participants 2 messages Feb 10, 2025 – Feb 12, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 net: wwan: t7xx: 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.

---
 drivers/net/wwan/t7xx/t7xx_pci.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wwan/t7xx/t7xx_pci.c +0 -1
index 02f2ec7cf4ce..8bf63f2dcbbf 100644
@@ -32,7 +32,6 @@
 #include <linux/pci.h>
 #include <linux/pm.h>
 #include <linux/pm_runtime.h>
-#include <linux/pm_wakeup.h>
 #include <linux/spinlock.h>
 
 #include "t7xx_mhccif.h"
Signature · 1 line
2.45.2
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 10 Feb 2025 12:37:11 +0100 you 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.

[...]

Here is the summary with links:
- [RESEND] net: wwan: t7xx: don't include '<linux/pm_wakeup.h>' directly

    https://git.kernel.org/netdev/net-next/c/4d3f687e2432

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html