Skip to content

Commit c371040

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

include/linux/mfd/davinci_voicecodec.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
#ifndef __LINUX_MFD_DAVINCI_VOICECODEC_H_
1111
#define __LINUX_MFD_DAVINCI_VOICECODEC_H_
1212

13-
#include <linux/kernel.h>
14-
#include <linux/platform_device.h>
13+
#include <linux/bits.h>
1514
#include <linux/mfd/core.h>
16-
#include <linux/platform_data/edma.h>
15+
#include <linux/types.h>
1716

17+
struct clk;
18+
struct device;
19+
struct platform_device;
1820
struct regmap;
1921

2022
/*

0 commit comments

Comments
 (0)