Skip to contentSkip to conversation

net: phy: broadcom: don't include '<linux/pm_wakeup.h>' directly

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

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

PATCH RESEND 1/1 net: phy: broadcom: 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>'. Replace the include accordingly.

---
 drivers/net/phy/broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/broadcom.c +1 -1
index 22edb7e4c1a1..13e43fee1906 100644
@@ -16,7 +16,7 @@
 #include <linux/delay.h>
 #include <linux/module.h>
 #include <linux/phy.h>
-#include <linux/pm_wakeup.h>
+#include <linux/device.h>
 #include <linux/brcmphy.h>
 #include <linux/of.h>
 #include <linux/interrupt.h>
Signature · 1 line
2.45.2
#2 lore raw
In reply to Wolfram Sang
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:36:59 +0100 you wrote:

The header clearly states that it does not want to be included directly, only via '<linux/(platform_)?device.h>'. Replace the include accordingly.

---
 drivers/net/phy/broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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

You are awesome, thank you!

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