Skip to content

Commit dd39451

Browse files
andy-shevlag-linaro
authored andcommitted
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. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent dd1902b commit dd39451

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/mfd/madera/pdata.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
#ifndef MADERA_PDATA_H
99
#define MADERA_PDATA_H
1010

11-
#include <linux/kernel.h>
1211
#include <linux/regulator/arizona-ldo1.h>
1312
#include <linux/regulator/arizona-micsupp.h>
1413
#include <linux/regulator/machine.h>
14+
#include <linux/types.h>
15+
1516
#include <sound/madera-pdata.h>
1617

1718
#define MADERA_MAX_MICBIAS 4

0 commit comments

Comments
 (0)