Message ID | 20250210113658.52019-2-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
State | Accepted |
Commit | ad30ee8013881907082e127e88504686ea15cac4 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [RESEND] net: phy: broadcom: don't include '<linux/pm_wakeup.h>' directly | expand |
On Mon, Feb 10, 2025 at 12:36:59PM +0100, Wolfram Sang 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 <wsa+renesas@sang-engineering.com> > Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: 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 <wsa+renesas@sang-engineering.com> > Acked-by: Florian Fainelli <florian.fainelli@broadcom.com> > --- > 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!
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 22edb7e4c1a1..13e43fee1906 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -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>