Skip to contentSkip to conversation

platform/x86: intel_scu_ipc: Don't use "proxy" headers

PATCH In review Andy Shevchenko 4 participants 4 messages Oct 3, 2024 – Oct 7, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: intel_scu_ipc: Don't use "proxy" headers

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

---
 include/linux/platform_data/x86/intel_scu_ipc.h | 4 ++++
 1 file changed, 4 insertions(+)
include/linux/platform_data/x86/intel_scu_ipc.h +4 -0
index 0ca9962e97f2..b287627759f7 100644
@@ -2,9 +2,13 @@
 #ifndef __PLATFORM_X86_INTEL_SCU_IPC_H_
 #define __PLATFORM_X86_INTEL_SCU_IPC_H_
 
+#include <linux/init.h>
 #include <linux/ioport.h>
+#include <linux/types.h>
 
 struct device;
+struct module;
+
 struct intel_scu_ipc_dev;
 
 /**
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
#2 lore raw
Quoted 5 lines · Mika Westerberg
Quoted 2 lines · Andy Shevchenko

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

Is this some new Coding Style thing?

It's useful to unravel a tangle of the dependency hell. Yet it needs to be documented.

Quoted 3 lines

Fine by me,

Thank you!

Signature · 2 lines
With Best Regards,
Andy Shevchenko
maintainer
#3 lore raw
In reply to Andy Shevchenko
Quoted 4 lines · Andy Shevchenko

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

Thank you for your contribution, it has been applied to my local review-ilpo branch. Note it will show up in the public platform-drivers-x86/review-ilpo branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: intel_scu_ipc: Don't use "proxy" headers

      commit: 066c779b094b63754e0742ad8675d72d6c0a46f6

--
i.