diff options
author | Seungwhan Youn <sw.youn@samsung.com> | 2011-01-10 17:26:06 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-11 06:28:33 -0500 |
commit | 0378b6acc8ee20720dce23d5157185e09189d41c (patch) | |
tree | 53f9474a6f252d60aa3ffce63c4b0045e4bfc7b7 /sound/soc/samsung | |
parent | 180c329d6b0db49687c88303e7f3754e7afdc3bf (diff) |
ASoC: SAMSUNG: Clean-up header includes
This patch remove including unnecessary/duplicated headers which relative
with Samsung SoCs.
Signed-off-by: Seungwhan Youn <sw.youn@samsung.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung')
23 files changed, 13 insertions, 172 deletions
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c index 1e84ee01eaca..f97110e72e85 100644 --- a/sound/soc/samsung/ac97.c +++ b/sound/soc/samsung/ac97.c | |||
@@ -12,16 +12,14 @@ | |||
12 | * published by the Free Software Foundation. | 12 | * published by the Free Software Foundation. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/init.h> | ||
16 | #include <linux/module.h> | ||
17 | #include <linux/io.h> | 15 | #include <linux/io.h> |
18 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
19 | #include <linux/clk.h> | 17 | #include <linux/clk.h> |
20 | 18 | ||
21 | #include <sound/soc.h> | 19 | #include <sound/soc.h> |
22 | 20 | ||
23 | #include <plat/regs-ac97.h> | ||
24 | #include <mach/dma.h> | 21 | #include <mach/dma.h> |
22 | #include <plat/regs-ac97.h> | ||
25 | #include <plat/audio.h> | 23 | #include <plat/audio.h> |
26 | 24 | ||
27 | #include "dma.h" | 25 | #include "dma.h" |
diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c index c2cdb4597e56..9bce1df1f0d1 100644 --- a/sound/soc/samsung/dma.c +++ b/sound/soc/samsung/dma.c | |||
@@ -14,17 +14,11 @@ | |||
14 | * option) any later version. | 14 | * option) any later version. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/module.h> | ||
18 | #include <linux/init.h> | ||
19 | #include <linux/io.h> | ||
20 | #include <linux/platform_device.h> | ||
21 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
22 | #include <linux/dma-mapping.h> | 18 | #include <linux/dma-mapping.h> |
23 | 19 | ||
24 | #include <sound/core.h> | ||
25 | #include <sound/pcm.h> | ||
26 | #include <sound/pcm_params.h> | ||
27 | #include <sound/soc.h> | 20 | #include <sound/soc.h> |
21 | #include <sound/pcm_params.h> | ||
28 | 22 | ||
29 | #include <asm/dma.h> | 23 | #include <asm/dma.h> |
30 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
diff --git a/sound/soc/samsung/goni_wm8994.c b/sound/soc/samsung/goni_wm8994.c index 34dd9ef1b9c0..f6b3a3ce5919 100644 --- a/sound/soc/samsung/goni_wm8994.c +++ b/sound/soc/samsung/goni_wm8994.c | |||
@@ -11,21 +11,13 @@ | |||
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/module.h> | ||
15 | #include <linux/moduleparam.h> | ||
16 | #include <linux/io.h> | ||
17 | #include <linux/platform_device.h> | ||
18 | #include <sound/soc.h> | 14 | #include <sound/soc.h> |
19 | #include <sound/jack.h> | 15 | #include <sound/jack.h> |
16 | |||
20 | #include <asm/mach-types.h> | 17 | #include <asm/mach-types.h> |
21 | #include <mach/gpio.h> | 18 | #include <mach/gpio.h> |
22 | #include <mach/regs-clock.h> | ||
23 | 19 | ||
24 | #include <linux/mfd/wm8994/core.h> | ||
25 | #include <linux/mfd/wm8994/registers.h> | ||
26 | #include "../codecs/wm8994.h" | 20 | #include "../codecs/wm8994.h" |
27 | #include "dma.h" | ||
28 | #include "i2s.h" | ||
29 | 21 | ||
30 | #define MACHINE_NAME 0 | 22 | #define MACHINE_NAME 0 |
31 | #define CPU_VOICE_DAI 1 | 23 | #define CPU_VOICE_DAI 1 |
diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c index c45f7ce14d61..241f55d00660 100644 --- a/sound/soc/samsung/h1940_uda1380.c +++ b/sound/soc/samsung/h1940_uda1380.c | |||
@@ -13,25 +13,16 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/module.h> | ||
17 | #include <linux/moduleparam.h> | ||
18 | #include <linux/platform_device.h> | ||
19 | #include <linux/i2c.h> | ||
20 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
21 | 17 | ||
22 | #include <sound/soc.h> | 18 | #include <sound/soc.h> |
23 | #include <sound/uda1380.h> | ||
24 | #include <sound/jack.h> | 19 | #include <sound/jack.h> |
25 | 20 | ||
26 | #include <plat/regs-iis.h> | 21 | #include <plat/regs-iis.h> |
27 | |||
28 | #include <mach/h1940-latch.h> | 22 | #include <mach/h1940-latch.h> |
29 | |||
30 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
31 | 24 | ||
32 | #include "dma.h" | ||
33 | #include "s3c24xx-i2s.h" | 25 | #include "s3c24xx-i2s.h" |
34 | #include "../codecs/uda1380.h" | ||
35 | 26 | ||
36 | static unsigned int rates[] = { | 27 | static unsigned int rates[] = { |
37 | 11025, | 28 | 11025, |
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index d00ac3a7102c..ffa09b3b2caa 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c | |||
@@ -15,9 +15,8 @@ | |||
15 | #include <linux/clk.h> | 15 | #include <linux/clk.h> |
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | 17 | ||
18 | #include <sound/pcm.h> | ||
19 | #include <sound/pcm_params.h> | ||
20 | #include <sound/soc.h> | 18 | #include <sound/soc.h> |
19 | #include <sound/pcm_params.h> | ||
21 | 20 | ||
22 | #include <plat/audio.h> | 21 | #include <plat/audio.h> |
23 | 22 | ||
diff --git a/sound/soc/samsung/jive_wm8750.c b/sound/soc/samsung/jive_wm8750.c index 08802520e014..3b53ad54bc33 100644 --- a/sound/soc/samsung/jive_wm8750.c +++ b/sound/soc/samsung/jive_wm8750.c | |||
@@ -11,22 +11,11 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/module.h> | ||
15 | #include <linux/moduleparam.h> | ||
16 | #include <linux/timer.h> | ||
17 | #include <linux/interrupt.h> | ||
18 | #include <linux/platform_device.h> | ||
19 | #include <linux/clk.h> | ||
20 | |||
21 | #include <sound/core.h> | ||
22 | #include <sound/pcm.h> | ||
23 | #include <sound/soc.h> | 14 | #include <sound/soc.h> |
24 | 15 | ||
25 | #include <asm/mach-types.h> | 16 | #include <asm/mach-types.h> |
26 | 17 | ||
27 | #include "dma.h" | ||
28 | #include "s3c2412-i2s.h" | 18 | #include "s3c2412-i2s.h" |
29 | |||
30 | #include "../codecs/wm8750.h" | 19 | #include "../codecs/wm8750.h" |
31 | 20 | ||
32 | static const struct snd_soc_dapm_route audio_map[] = { | 21 | static const struct snd_soc_dapm_route audio_map[] = { |
diff --git a/sound/soc/samsung/ln2440sbc_alc650.c b/sound/soc/samsung/ln2440sbc_alc650.c index 02414290169b..bd91c19a6c08 100644 --- a/sound/soc/samsung/ln2440sbc_alc650.c +++ b/sound/soc/samsung/ln2440sbc_alc650.c | |||
@@ -16,14 +16,8 @@ | |||
16 | * | 16 | * |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/module.h> | ||
20 | #include <linux/device.h> | ||
21 | #include <sound/core.h> | ||
22 | #include <sound/pcm.h> | ||
23 | #include <sound/soc.h> | 19 | #include <sound/soc.h> |
24 | 20 | ||
25 | #include "dma.h" | ||
26 | |||
27 | static struct snd_soc_card ln2440sbc; | 21 | static struct snd_soc_card ln2440sbc; |
28 | 22 | ||
29 | static struct snd_soc_dai_link ln2440sbc_dai[] = { | 23 | static struct snd_soc_dai_link ln2440sbc_dai[] = { |
diff --git a/sound/soc/samsung/neo1973_gta02_wm8753.c b/sound/soc/samsung/neo1973_gta02_wm8753.c index 3eec610c10f9..69e08fd1ff00 100644 --- a/sound/soc/samsung/neo1973_gta02_wm8753.c +++ b/sound/soc/samsung/neo1973_gta02_wm8753.c | |||
@@ -13,25 +13,15 @@ | |||
13 | * option) any later version. | 13 | * option) any later version. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/module.h> | ||
17 | #include <linux/moduleparam.h> | ||
18 | #include <linux/timer.h> | ||
19 | #include <linux/interrupt.h> | ||
20 | #include <linux/platform_device.h> | ||
21 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
22 | #include <sound/core.h> | 17 | |
23 | #include <sound/pcm.h> | ||
24 | #include <sound/soc.h> | 18 | #include <sound/soc.h> |
25 | 19 | ||
26 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
27 | |||
28 | #include <plat/regs-iis.h> | 21 | #include <plat/regs-iis.h> |
29 | |||
30 | #include <mach/regs-clock.h> | ||
31 | #include <asm/io.h> | ||
32 | #include <mach/gta02.h> | 22 | #include <mach/gta02.h> |
23 | |||
33 | #include "../codecs/wm8753.h" | 24 | #include "../codecs/wm8753.h" |
34 | #include "dma.h" | ||
35 | #include "s3c24xx-i2s.h" | 25 | #include "s3c24xx-i2s.h" |
36 | 26 | ||
37 | static struct snd_soc_card neo1973_gta02; | 27 | static struct snd_soc_card neo1973_gta02; |
diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c index 091db5dce07e..38aac7d57a59 100644 --- a/sound/soc/samsung/pcm.c +++ b/sound/soc/samsung/pcm.c | |||
@@ -11,20 +11,11 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/init.h> | ||
15 | #include <linux/module.h> | ||
16 | #include <linux/device.h> | ||
17 | #include <linux/delay.h> | ||
18 | #include <linux/clk.h> | 14 | #include <linux/clk.h> |
19 | #include <linux/kernel.h> | ||
20 | #include <linux/gpio.h> | ||
21 | #include <linux/io.h> | 15 | #include <linux/io.h> |
22 | 16 | ||
23 | #include <sound/core.h> | ||
24 | #include <sound/pcm.h> | ||
25 | #include <sound/pcm_params.h> | ||
26 | #include <sound/initval.h> | ||
27 | #include <sound/soc.h> | 17 | #include <sound/soc.h> |
18 | #include <sound/pcm_params.h> | ||
28 | 19 | ||
29 | #include <plat/audio.h> | 20 | #include <plat/audio.h> |
30 | #include <plat/dma.h> | 21 | #include <plat/dma.h> |
diff --git a/sound/soc/samsung/rx1950_uda1380.c b/sound/soc/samsung/rx1950_uda1380.c index 5a4587e02886..5f2479ce9dde 100644 --- a/sound/soc/samsung/rx1950_uda1380.c +++ b/sound/soc/samsung/rx1950_uda1380.c | |||
@@ -17,26 +17,15 @@ | |||
17 | * | 17 | * |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/module.h> | ||
21 | #include <linux/moduleparam.h> | ||
22 | #include <linux/platform_device.h> | ||
23 | #include <linux/i2c.h> | ||
24 | #include <linux/gpio.h> | 20 | #include <linux/gpio.h> |
25 | #include <linux/clk.h> | ||
26 | 21 | ||
27 | #include <sound/soc.h> | 22 | #include <sound/soc.h> |
28 | #include <sound/uda1380.h> | ||
29 | #include <sound/jack.h> | 23 | #include <sound/jack.h> |
30 | 24 | ||
31 | #include <plat/regs-iis.h> | 25 | #include <plat/regs-iis.h> |
32 | |||
33 | #include <mach/regs-clock.h> | ||
34 | |||
35 | #include <asm/mach-types.h> | 26 | #include <asm/mach-types.h> |
36 | 27 | ||
37 | #include "dma.h" | ||
38 | #include "s3c24xx-i2s.h" | 28 | #include "s3c24xx-i2s.h" |
39 | #include "../codecs/uda1380.h" | ||
40 | 29 | ||
41 | static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd); | 30 | static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd); |
42 | static int rx1950_startup(struct snd_pcm_substream *substream); | 31 | static int rx1950_startup(struct snd_pcm_substream *substream); |
diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c index 094f36e41e83..52074a2b0696 100644 --- a/sound/soc/samsung/s3c-i2s-v2.c +++ b/sound/soc/samsung/s3c-i2s-v2.c | |||
@@ -20,9 +20,8 @@ | |||
20 | #include <linux/clk.h> | 20 | #include <linux/clk.h> |
21 | #include <linux/io.h> | 21 | #include <linux/io.h> |
22 | 22 | ||
23 | #include <sound/pcm.h> | ||
24 | #include <sound/pcm_params.h> | ||
25 | #include <sound/soc.h> | 23 | #include <sound/soc.h> |
24 | #include <sound/pcm_params.h> | ||
26 | 25 | ||
27 | #include <mach/dma.h> | 26 | #include <mach/dma.h> |
28 | 27 | ||
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index 7ea837867124..841ab14c1100 100644 --- a/sound/soc/samsung/s3c2412-i2s.c +++ b/sound/soc/samsung/s3c2412-i2s.c | |||
@@ -16,21 +16,13 @@ | |||
16 | * option) any later version. | 16 | * option) any later version. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/init.h> | ||
20 | #include <linux/module.h> | ||
21 | #include <linux/device.h> | ||
22 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
23 | #include <linux/gpio.h> | 20 | #include <linux/gpio.h> |
24 | #include <linux/clk.h> | 21 | #include <linux/clk.h> |
25 | #include <linux/kernel.h> | ||
26 | #include <linux/io.h> | 22 | #include <linux/io.h> |
27 | 23 | ||
28 | #include <sound/core.h> | ||
29 | #include <sound/pcm.h> | ||
30 | #include <sound/pcm_params.h> | ||
31 | #include <sound/initval.h> | ||
32 | #include <sound/soc.h> | 24 | #include <sound/soc.h> |
33 | #include <mach/hardware.h> | 25 | #include <sound/pcm_params.h> |
34 | 26 | ||
35 | #include <mach/regs-gpio.h> | 27 | #include <mach/regs-gpio.h> |
36 | #include <mach/dma.h> | 28 | #include <mach/dma.h> |
@@ -39,8 +31,6 @@ | |||
39 | #include "regs-i2s-v2.h" | 31 | #include "regs-i2s-v2.h" |
40 | #include "s3c2412-i2s.h" | 32 | #include "s3c2412-i2s.h" |
41 | 33 | ||
42 | #define S3C2412_I2S_DEBUG 0 | ||
43 | |||
44 | static struct s3c2410_dma_client s3c2412_dma_client_out = { | 34 | static struct s3c2410_dma_client s3c2412_dma_client_out = { |
45 | .name = "I2S PCM Stereo out" | 35 | .name = "I2S PCM Stereo out" |
46 | }; | 36 | }; |
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c index 13e41ed8e22b..63d8849d80bd 100644 --- a/sound/soc/samsung/s3c24xx-i2s.c +++ b/sound/soc/samsung/s3c24xx-i2s.c | |||
@@ -14,28 +14,16 @@ | |||
14 | * option) any later version. | 14 | * option) any later version. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <linux/init.h> | ||
18 | #include <linux/module.h> | ||
19 | #include <linux/device.h> | ||
20 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
21 | #include <linux/clk.h> | 18 | #include <linux/clk.h> |
22 | #include <linux/jiffies.h> | ||
23 | #include <linux/io.h> | 19 | #include <linux/io.h> |
24 | #include <linux/gpio.h> | 20 | #include <linux/gpio.h> |
25 | 21 | ||
26 | #include <sound/core.h> | ||
27 | #include <sound/pcm.h> | ||
28 | #include <sound/pcm_params.h> | ||
29 | #include <sound/initval.h> | ||
30 | #include <sound/soc.h> | 22 | #include <sound/soc.h> |
23 | #include <sound/pcm_params.h> | ||
31 | 24 | ||
32 | #include <mach/hardware.h> | ||
33 | #include <mach/regs-gpio.h> | 25 | #include <mach/regs-gpio.h> |
34 | #include <mach/regs-clock.h> | ||
35 | |||
36 | #include <asm/dma.h> | ||
37 | #include <mach/dma.h> | 26 | #include <mach/dma.h> |
38 | |||
39 | #include <plat/regs-iis.h> | 27 | #include <plat/regs-iis.h> |
40 | 28 | ||
41 | #include "dma.h" | 29 | #include "dma.h" |
diff --git a/sound/soc/samsung/s3c24xx_simtec.c b/sound/soc/samsung/s3c24xx_simtec.c index a434032d1832..349566f0686b 100644 --- a/sound/soc/samsung/s3c24xx_simtec.c +++ b/sound/soc/samsung/s3c24xx_simtec.c | |||
@@ -7,20 +7,13 @@ | |||
7 | * published by the Free Software Foundation. | 7 | * published by the Free Software Foundation. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/module.h> | ||
11 | #include <linux/moduleparam.h> | ||
12 | #include <linux/platform_device.h> | ||
13 | #include <linux/gpio.h> | 10 | #include <linux/gpio.h> |
14 | #include <linux/clk.h> | 11 | #include <linux/clk.h> |
15 | #include <linux/i2c.h> | ||
16 | 12 | ||
17 | #include <sound/core.h> | ||
18 | #include <sound/pcm.h> | ||
19 | #include <sound/soc.h> | 13 | #include <sound/soc.h> |
20 | 14 | ||
21 | #include <plat/audio-simtec.h> | 15 | #include <plat/audio-simtec.h> |
22 | 16 | ||
23 | #include "dma.h" | ||
24 | #include "s3c24xx-i2s.h" | 17 | #include "s3c24xx-i2s.h" |
25 | #include "s3c24xx_simtec.h" | 18 | #include "s3c24xx_simtec.h" |
26 | 19 | ||
diff --git a/sound/soc/samsung/s3c24xx_simtec_hermes.c b/sound/soc/samsung/s3c24xx_simtec_hermes.c index bb4292e3596c..d7b3e6e9d783 100644 --- a/sound/soc/samsung/s3c24xx_simtec_hermes.c +++ b/sound/soc/samsung/s3c24xx_simtec_hermes.c | |||
@@ -7,18 +7,8 @@ | |||
7 | * published by the Free Software Foundation. | 7 | * published by the Free Software Foundation. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/module.h> | ||
11 | #include <linux/clk.h> | ||
12 | #include <linux/platform_device.h> | ||
13 | |||
14 | #include <sound/core.h> | ||
15 | #include <sound/pcm.h> | ||
16 | #include <sound/soc.h> | 10 | #include <sound/soc.h> |
17 | 11 | ||
18 | #include <plat/audio-simtec.h> | ||
19 | |||
20 | #include "dma.h" | ||
21 | #include "s3c24xx-i2s.h" | ||
22 | #include "s3c24xx_simtec.h" | 12 | #include "s3c24xx_simtec.h" |
23 | 13 | ||
24 | static const struct snd_soc_dapm_widget dapm_widgets[] = { | 14 | static const struct snd_soc_dapm_widget dapm_widgets[] = { |
diff --git a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c index fbba4e367729..ff6168f5f2e0 100644 --- a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c +++ b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c | |||
@@ -7,22 +7,10 @@ | |||
7 | * published by the Free Software Foundation. | 7 | * published by the Free Software Foundation. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/module.h> | ||
11 | #include <linux/clk.h> | ||
12 | #include <linux/platform_device.h> | ||
13 | |||
14 | #include <sound/core.h> | ||
15 | #include <sound/pcm.h> | ||
16 | #include <sound/soc.h> | 10 | #include <sound/soc.h> |
17 | 11 | ||
18 | #include <plat/audio-simtec.h> | ||
19 | |||
20 | #include "dma.h" | ||
21 | #include "s3c24xx-i2s.h" | ||
22 | #include "s3c24xx_simtec.h" | 12 | #include "s3c24xx_simtec.h" |
23 | 13 | ||
24 | #include "../codecs/tlv320aic23.h" | ||
25 | |||
26 | /* supported machines: | 14 | /* supported machines: |
27 | * | 15 | * |
28 | * Machine Connections AMP | 16 | * Machine Connections AMP |
diff --git a/sound/soc/samsung/s3c24xx_uda134x.c b/sound/soc/samsung/s3c24xx_uda134x.c index cdc8ecbcb8ef..ce749a10ec07 100644 --- a/sound/soc/samsung/s3c24xx_uda134x.c +++ b/sound/soc/samsung/s3c24xx_uda134x.c | |||
@@ -11,22 +11,15 @@ | |||
11 | * published by the Free Software Foundation. | 11 | * published by the Free Software Foundation. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/module.h> | ||
15 | #include <linux/clk.h> | 14 | #include <linux/clk.h> |
16 | #include <linux/mutex.h> | ||
17 | #include <linux/gpio.h> | 15 | #include <linux/gpio.h> |
18 | #include <sound/pcm.h> | 16 | |
19 | #include <sound/pcm_params.h> | ||
20 | #include <sound/soc.h> | 17 | #include <sound/soc.h> |
21 | #include <sound/s3c24xx_uda134x.h> | 18 | #include <sound/s3c24xx_uda134x.h> |
22 | #include <sound/uda134x.h> | ||
23 | 19 | ||
24 | #include <plat/regs-iis.h> | 20 | #include <plat/regs-iis.h> |
25 | 21 | ||
26 | #include "dma.h" | ||
27 | #include "s3c24xx-i2s.h" | 22 | #include "s3c24xx-i2s.h" |
28 | #include "../codecs/uda134x.h" | ||
29 | |||
30 | 23 | ||
31 | /* #define ENFORCE_RATES 1 */ | 24 | /* #define ENFORCE_RATES 1 */ |
32 | /* | 25 | /* |
diff --git a/sound/soc/samsung/smartq_wm8987.c b/sound/soc/samsung/smartq_wm8987.c index 61e2b5219d42..0a2c4f223038 100644 --- a/sound/soc/samsung/smartq_wm8987.c +++ b/sound/soc/samsung/smartq_wm8987.c | |||
@@ -13,20 +13,14 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/module.h> | ||
17 | #include <linux/platform_device.h> | ||
18 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
19 | 17 | ||
20 | #include <sound/pcm.h> | ||
21 | #include <sound/pcm_params.h> | ||
22 | #include <sound/soc.h> | 18 | #include <sound/soc.h> |
23 | #include <sound/jack.h> | 19 | #include <sound/jack.h> |
24 | 20 | ||
25 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
26 | 22 | ||
27 | #include "dma.h" | ||
28 | #include "i2s.h" | 23 | #include "i2s.h" |
29 | |||
30 | #include "../codecs/wm8750.h" | 24 | #include "../codecs/wm8750.h" |
31 | 25 | ||
32 | /* | 26 | /* |
diff --git a/sound/soc/samsung/smdk2443_wm9710.c b/sound/soc/samsung/smdk2443_wm9710.c index 4bd8c0b63966..3a0dbfc793f0 100644 --- a/sound/soc/samsung/smdk2443_wm9710.c +++ b/sound/soc/samsung/smdk2443_wm9710.c | |||
@@ -12,14 +12,8 @@ | |||
12 | * | 12 | * |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <linux/module.h> | ||
16 | #include <linux/device.h> | ||
17 | #include <sound/core.h> | ||
18 | #include <sound/pcm.h> | ||
19 | #include <sound/soc.h> | 15 | #include <sound/soc.h> |
20 | 16 | ||
21 | #include "dma.h" | ||
22 | |||
23 | static struct snd_soc_card smdk2443; | 17 | static struct snd_soc_card smdk2443; |
24 | 18 | ||
25 | static struct snd_soc_dai_link smdk2443_dai[] = { | 19 | static struct snd_soc_dai_link smdk2443_dai[] = { |
diff --git a/sound/soc/samsung/smdk_spdif.c b/sound/soc/samsung/smdk_spdif.c index cb2f4d04ab7e..d42fe8df7144 100644 --- a/sound/soc/samsung/smdk_spdif.c +++ b/sound/soc/samsung/smdk_spdif.c | |||
@@ -10,15 +10,10 @@ | |||
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/module.h> | ||
14 | #include <linux/device.h> | ||
15 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
16 | 14 | ||
17 | #include <plat/devs.h> | ||
18 | |||
19 | #include <sound/soc.h> | 15 | #include <sound/soc.h> |
20 | 16 | ||
21 | #include "dma.h" | ||
22 | #include "spdif.h" | 17 | #include "spdif.h" |
23 | 18 | ||
24 | /* Audio clock settings are belonged to board specific part. Every | 19 | /* Audio clock settings are belonged to board specific part. Every |
diff --git a/sound/soc/samsung/smdk_wm8580.c b/sound/soc/samsung/smdk_wm8580.c index b2cff1a44aed..8aacf23d6f3a 100644 --- a/sound/soc/samsung/smdk_wm8580.c +++ b/sound/soc/samsung/smdk_wm8580.c | |||
@@ -10,17 +10,12 @@ | |||
10 | * option) any later version. | 10 | * option) any later version. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/platform_device.h> | ||
14 | #include <linux/clk.h> | ||
15 | #include <sound/core.h> | ||
16 | #include <sound/pcm.h> | ||
17 | #include <sound/pcm_params.h> | ||
18 | #include <sound/soc.h> | 13 | #include <sound/soc.h> |
14 | #include <sound/pcm_params.h> | ||
19 | 15 | ||
20 | #include <asm/mach-types.h> | 16 | #include <asm/mach-types.h> |
21 | 17 | ||
22 | #include "../codecs/wm8580.h" | 18 | #include "../codecs/wm8580.h" |
23 | #include "dma.h" | ||
24 | #include "i2s.h" | 19 | #include "i2s.h" |
25 | 20 | ||
26 | /* | 21 | /* |
diff --git a/sound/soc/samsung/smdk_wm9713.c b/sound/soc/samsung/smdk_wm9713.c index d58d86e7e19d..fffe3c1dd1bd 100644 --- a/sound/soc/samsung/smdk_wm9713.c +++ b/sound/soc/samsung/smdk_wm9713.c | |||
@@ -11,12 +11,8 @@ | |||
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/module.h> | ||
15 | #include <linux/device.h> | ||
16 | #include <sound/soc.h> | 14 | #include <sound/soc.h> |
17 | 15 | ||
18 | #include "dma.h" | ||
19 | |||
20 | static struct snd_soc_card smdk; | 16 | static struct snd_soc_card smdk; |
21 | 17 | ||
22 | /* | 18 | /* |
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c index f0816404ea3e..28c491dacf7a 100644 --- a/sound/soc/samsung/spdif.c +++ b/sound/soc/samsung/spdif.c | |||
@@ -13,9 +13,8 @@ | |||
13 | #include <linux/clk.h> | 13 | #include <linux/clk.h> |
14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
15 | 15 | ||
16 | #include <sound/pcm.h> | ||
17 | #include <sound/pcm_params.h> | ||
18 | #include <sound/soc.h> | 16 | #include <sound/soc.h> |
17 | #include <sound/pcm_params.h> | ||
19 | 18 | ||
20 | #include <plat/audio.h> | 19 | #include <plat/audio.h> |
21 | #include <mach/dma.h> | 20 | #include <mach/dma.h> |