[PATCH 10/15] net: wwan: t7xx: don't include 'pm_wakeup.h' directly

Wolfram Sang posted 15 patches 5 days, 16 hours ago
[PATCH 10/15] net: wwan: t7xx: don't include 'pm_wakeup.h' directly
Posted by Wolfram Sang 5 days, 16 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/wwan/t7xx/t7xx_pci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/wwan/t7xx/t7xx_pci.c b/drivers/net/wwan/t7xx/t7xx_pci.c
index e556e5bd49ab..5ce169461c7b 100644
--- a/drivers/net/wwan/t7xx/t7xx_pci.c
+++ b/drivers/net/wwan/t7xx/t7xx_pci.c
@@ -32,7 +32,6 @@
 #include <linux/pci.h>
 #include <linux/pm.h>
 #include <linux/pm_runtime.h>
-#include <linux/pm_wakeup.h>
 #include <linux/spinlock.h>
 
 #include "t7xx_mhccif.h"
-- 
2.39.2
Re: [PATCH 10/15] net: wwan: t7xx: don't include 'pm_wakeup.h' directly
Posted by Sergey Ryazanov 5 days, 4 hours ago
On 18.11.2024 09: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: Sergey Ryazanov <ryazanov.s.a@gmail.com>