Skip to contentSkip to conversation

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

PATCH Applied Andy Shevchenko 2 participants 2 messages Jun 26, 2025 – Jul 2, 2025 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: davinci_voicecodec: 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/davinci_voicecodec.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
include/linux/mfd/davinci_voicecodec.h +5 -3
index 556375b91316..9acd703dd5ca 100644
@@ -10,11 +10,13 @@
 #ifndef __LINUX_MFD_DAVINCI_VOICECODEC_H_
 #define __LINUX_MFD_DAVINCI_VOICECODEC_H_
 
-#include <linux/kernel.h>
-#include <linux/platform_device.h>
+#include <linux/bits.h>
 #include <linux/mfd/core.h>
-#include <linux/platform_data/edma.h>
+#include <linux/types.h>
 
+struct clk;
+struct device;
+struct platform_device;
 struct regmap;
 
 /*
Signature · 1 line
2.47.2
maintainer Applied
#1 lore raw

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

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: davinci_voicecodec: Don't use "proxy" headers

      commit: eb58bc64cd05137909859d930d6e320ea086e777

--
Lee Jones [李琼斯]