]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: phy: broadcom: don't include '<linux/pm_wakeup.h>' directly
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 10 Feb 2025 11:36:59 +0000 (12:36 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Feb 2025 00:36:48 +0000 (16:36 -0800)
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>
Link: https://patch.msgid.link/20250210113658.52019-2-wsa+renesas@sang-engineering.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/broadcom.c

index 22edb7e4c1a1f9a9b90c2d6094fc4418c581cc5e..13e43fee1906eef65dd92657e6ca5fdc2b4d53f2 100644 (file)
@@ -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>