diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-10-27 10:38:08 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-11-29 09:21:27 +0100 |
commit | 8ca9edc837932469b81b8b47ea43a074b6add970 (patch) | |
tree | 4408846bb7ae73432a73fad0df08fd95d8d1de46 | |
parent | mfd: wm5102: Remove spurious trailing spaces (diff) | |
download | linux-8ca9edc837932469b81b8b47ea43a074b6add970.tar.xz linux-8ca9edc837932469b81b8b47ea43a074b6add970.zip |
mfd: davinci_voicecodec: Tidyup header difinitions
mach/hardware.h is needed on C source code side, not header.
And struct davinci_vc is duplicated definition.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r-- | drivers/mfd/davinci_voicecodec.c | 1 | ||||
-rw-r--r-- | include/linux/mfd/davinci_voicecodec.h | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mfd/davinci_voicecodec.c b/drivers/mfd/davinci_voicecodec.c index dff2f19296b8..4d0a5f38038a 100644 --- a/drivers/mfd/davinci_voicecodec.c +++ b/drivers/mfd/davinci_voicecodec.c @@ -32,6 +32,7 @@ #include <sound/pcm.h> #include <linux/mfd/davinci_voicecodec.h> +#include <mach/hardware.h> static const struct regmap_config davinci_vc_regmap = { .reg_bits = 32, diff --git a/include/linux/mfd/davinci_voicecodec.h b/include/linux/mfd/davinci_voicecodec.h index 8e1cdbef3dad..2c0127cb06c5 100644 --- a/include/linux/mfd/davinci_voicecodec.h +++ b/include/linux/mfd/davinci_voicecodec.h @@ -28,8 +28,6 @@ #include <linux/mfd/core.h> #include <linux/platform_data/edma.h> -#include <mach/hardware.h> - struct regmap; /* @@ -99,8 +97,6 @@ struct davinci_vcif { dma_addr_t dma_rx_addr; }; -struct davinci_vc; - struct davinci_vc { /* Device data */ struct device *dev; |