mfd: davinci_voicecodec: Don't use "proxy" headers
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.
Signed-off-by Andy Shevchenko <[email protected]>
--- include/linux/mfd/davinci_voicecodec.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
include/linux/mfd/davinci_voicecodec.h +5 -3
@@ -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
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.his 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 [李琼斯]