diff mbox series

[11/15] PCI: don't include 'pm_wakeup.h' directly

Message ID 20241118072917.3853-12-wsa+renesas@sang-engineering.com (mailing list archive)
State New
Delegated to: Krzysztof WilczyƄski
Headers show
Series treewide: don't include 'pm_wakeup.h' directly | expand

Commit Message

Wolfram Sang Nov. 18, 2024, 7:29 a.m. UTC
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/pci/pci.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Bjorn Helgaas Nov. 20, 2024, 10:34 p.m. UTC | #1
On Mon, Nov 18, 2024 at 08:29:10AM +0100, 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>

I plan to pick this up for v6.14 as soon as the v6.13 merge window
closes.

> ---
>  drivers/pci/pci.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
> index 225a6cd2e9ca..3b1939c9cf46 100644
> --- a/drivers/pci/pci.c
> +++ b/drivers/pci/pci.c
> @@ -23,7 +23,6 @@
>  #include <linux/string.h>
>  #include <linux/log2.h>
>  #include <linux/logic_pio.h>
> -#include <linux/pm_wakeup.h>
>  #include <linux/device.h>
>  #include <linux/pm_runtime.h>
>  #include <linux/pci_hotplug.h>
> -- 
> 2.39.2
>
diff mbox series

Patch

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 225a6cd2e9ca..3b1939c9cf46 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -23,7 +23,6 @@ 
 #include <linux/string.h>
 #include <linux/log2.h>
 #include <linux/logic_pio.h>
-#include <linux/pm_wakeup.h>
 #include <linux/device.h>
 #include <linux/pm_runtime.h>
 #include <linux/pci_hotplug.h>