Message ID | 20241118072917.3853-3-wsa+renesas@sang-engineering.com |
---|---|
State | New |
Headers | show |
Series | None | expand |
On Mon, Nov 18, 2024 at 8:29 AM Wolfram Sang <wsa+renesas@sang-engineering.com> 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> > --- > drivers/base/power/sysfs.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c > index a1474fb67db9..82ce2d9f54e5 100644 > --- a/drivers/base/power/sysfs.c > +++ b/drivers/base/power/sysfs.c > @@ -6,7 +6,6 @@ > #include <linux/export.h> > #include <linux/pm_qos.h> > #include <linux/pm_runtime.h> > -#include <linux/pm_wakeup.h> > #include <linux/atomic.h> > #include <linux/jiffies.h> > #include "power.h" > -- Applied as 6.14 material, thanks!
diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c index a1474fb67db9..82ce2d9f54e5 100644 --- a/drivers/base/power/sysfs.c +++ b/drivers/base/power/sysfs.c @@ -6,7 +6,6 @@ #include <linux/export.h> #include <linux/pm_qos.h> #include <linux/pm_runtime.h> -#include <linux/pm_wakeup.h> #include <linux/atomic.h> #include <linux/jiffies.h> #include "power.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/base/power/sysfs.c | 1 - 1 file changed, 1 deletion(-)