]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
mfd: davinci_voicecodec: Tidyup header difinitions
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 27 Oct 2016 08:38:08 +0000 (08:38 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:27 +0000 (08:21 +0000)
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>
drivers/mfd/davinci_voicecodec.c
include/linux/mfd/davinci_voicecodec.h

index dff2f19296b881801a00afde363a53acf939b633..4d0a5f38038a75f893c20fb07e944dfc04375e29 100644 (file)
@@ -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,
index 8e1cdbef3dad05e3d2665f2b12c9e9128ed75583..2c0127cb06c590f0ed3a13cdf5d890c477ebb6f5 100644 (file)
@@ -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;