net: phy: broadcom: don't include '<linux/pm_wakeup.h>' directly
Subsystems (4)
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
@@ -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
Quoted 5 lines · Wolfram Sang
The header clearly states that it does not want to be included directly, only via '<linux/(platform_)?device.h>'. Replace the include accordingly.
Signed-off-by Wolfram Sang <[email protected]>Acked-by Florian Fainelli <[email protected]>
Andrew
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.
Signed-off-by Wolfram Sang <[email protected]>Acked-by Florian Fainelli <[email protected]>--- 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