The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [rft, PATCH v1 1/1] PM: Don't use "proxy" headers
@ 2025-04-28  7:18 Andy Shevchenko
  2025-04-28 18:57 ` kernel test robot
  2025-04-28 21:02 ` kernel test robot
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2025-04-28  7:18 UTC (permalink / raw)
  To: linux-pm, linux-kernel
  Cc: Rafael J. Wysocki, Pavel Machek, Len Brown, Andy Shevchenko

Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---

It may fail some builds, let's wait for CIs to report any issues before
applying this. But I also encourage to test it locally as much as possible.

 include/linux/pm.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/linux/pm.h b/include/linux/pm.h
index f0bd8fbae4f2..8e1c37d40a90 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -8,14 +8,14 @@
 #ifndef _LINUX_PM_H
 #define _LINUX_PM_H
 
-#include <linux/export.h>
-#include <linux/list.h>
-#include <linux/workqueue.h>
-#include <linux/spinlock.h>
-#include <linux/wait.h>
-#include <linux/timer.h>
-#include <linux/hrtimer.h>
 #include <linux/completion.h>
+#include <linux/export.h>
+#include <linux/mutex.h>
+#include <linux/spinlock.h>
+#include <linux/types.h>
+#include <linux/util_macros.h>
+#include <linux/wait.h>
+#include <linux/workqueue_types.h>
 
 /*
  * Callbacks for platform drivers to implement.
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-29  1:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-28  7:18 [rft, PATCH v1 1/1] PM: Don't use "proxy" headers Andy Shevchenko
2025-04-28 18:57 ` kernel test robot
2025-04-28 21:02 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox