]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mfd: madera: Don't use "proxy" headers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Jun 2025 15:45:44 +0000 (18:45 +0300)
committerLee Jones <lee@kernel.org>
Thu, 24 Jul 2025 10:27:14 +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/20250626154544.324724-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/madera/pdata.h

index 32e3470708ed8ae5ce41f1de6989628c7e4dcd1b..7e84738cbb20c14bd26353970499fe56814f740d 100644 (file)
@@ -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