mfd: madera: Don't use "proxy" headers
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.
Signed-off-by Andy Shevchenko <[email protected]>
--- include/linux/mfd/madera/pdata.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/mfd/madera/pdata.h +2 -1
@@ -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
Quoted 8 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Note that
kernel.his 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]>
Thanks,
Charles
Re: (subset) [PATCH v1 1/1] mfd: madera: Don't use "proxy" headers
In reply to Andy ShevchenkoQuoted 8 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Note that
kernel.his 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 [李琼斯]