Skip to contentSkip to conversation

mfd: madera: Don't use "proxy" headers

PATCH Applied Andy Shevchenko 3 participants 3 messages Jun 26, 2025 – Jul 2, 2025

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

PATCH 1/1 mfd: madera: Don't use "proxy" headers

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

Note that kernel.h is discouraged to be included as it's written at the top of that file.

---
 include/linux/mfd/madera/pdata.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/mfd/madera/pdata.h +2 -1
index 32e3470708ed..7e84738cbb20 100644
@@ -8,10 +8,11 @@
 #ifndef MADERA_PDATA_H
 #define MADERA_PDATA_H
 
-#include <linux/kernel.h>
 #include <linux/regulator/arizona-ldo1.h>
 #include <linux/regulator/arizona-micsupp.h>
 #include <linux/regulator/machine.h>
+#include <linux/types.h>
+
 #include <sound/madera-pdata.h>
 
 #define MADERA_MAX_MICBIAS		4
Signature · 1 line
2.47.2
maintainer Applied
#2 lore raw

Re: (subset) [PATCH v1 1/1] mfd: madera: Don't use "proxy" headers

In reply to Andy Shevchenko
Quoted 8 lines · Andy Shevchenko

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

Note that kernel.h is discouraged to be included as it's written at the top of that file.

[...]

Applied, thanks!

[1/1] mfd: madera: Don't use "proxy" headers

      commit: dfac47877802c8bd8e0e802648b7151421139204

--
Lee Jones [李琼斯]