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 |
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 --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>
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(-)