[PATCH 09/15] net: phy: broadcom: don't include 'pm_wakeup.h' directly

Wolfram Sang posted 15 patches 3 days, 8 hours ago
[PATCH 09/15] net: phy: broadcom: don't include 'pm_wakeup.h' directly
Posted by Wolfram Sang 3 days, 8 hours ago
The header clearly states that it does not want to be included directly,
only via 'device.h'. 'platform_device.h' works equally well. Remove the
direct inclusion.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 drivers/net/phy/broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
index ddded162c44c..5b55137c9d55 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>
-- 
2.39.2
Re: [PATCH 09/15] net: phy: broadcom: don't include 'pm_wakeup.h' directly
Posted by Florian Fainelli 2 days, 20 hours ago
On 11/17/24 23:29, Wolfram Sang wrote:
> The header clearly states that it does not want to be included directly,
> only via 'device.h'. 'platform_device.h' works equally well. Remove the
> direct inclusion.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian