]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
PCI: Don't include 'pm_wakeup.h' directly
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Nov 2024 07:29:10 +0000 (08:29 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Jan 2025 23:29:07 +0000 (17:29 -0600)
The header clearly states that it does not want to be included directly,
only via 'device.h'. The 'platform_device.h' works equally well.

Thus, remove the direct inclusion.

Link: https://lore.kernel.org/r/20241118072917.3853-12-wsa+renesas@sang-engineering.com
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c

index 0b29ec6e8e5e2d92ec6663b8667ece96512bc01d..68d1f815b07141e4efeaf771f7a9a421f09d8c4a 100644 (file)
@@ -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>