]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
mfd: wm8350-core: Don't use "proxy" headers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Jun 2025 15:59:51 +0000 (18:59 +0300)
committerLee Jones <lee@kernel.org>
Thu, 24 Jul 2025 10:27:13 +0000 (11:27 +0100)
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.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20250626155951.325683-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/wm8350/core.h

index a3241e4d75486883a06923b5da680b3b216bc9e9..5f70d3b5d1b1a4a6ec2e3f23c8dfbfed5d228ee0 100644 (file)
@@ -8,11 +8,12 @@
 #ifndef __LINUX_MFD_WM8350_CORE_H_
 #define __LINUX_MFD_WM8350_CORE_H_
 
-#include <linux/kernel.h>
-#include <linux/mutex.h>
-#include <linux/interrupt.h>
 #include <linux/completion.h>
+#include <linux/errno.h>
+#include <linux/interrupt.h>
+#include <linux/mutex.h>
 #include <linux/regmap.h>
+#include <linux/types.h>
 
 #include <linux/mfd/wm8350/audio.h>
 #include <linux/mfd/wm8350/gpio.h>
@@ -21,6 +22,9 @@
 #include <linux/mfd/wm8350/supply.h>
 #include <linux/mfd/wm8350/wdt.h>
 
+struct device;
+struct platform_device;
+
 /*
  * Register values.
  */