diff options
Diffstat (limited to 'sound/soc/sh/fsi-da7210.c')
-rw-r--r-- | sound/soc/sh/fsi-da7210.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sound/soc/sh/fsi-da7210.c b/sound/soc/sh/fsi-da7210.c index 33b4d177f466..121bbb07bb03 100644 --- a/sound/soc/sh/fsi-da7210.c +++ b/sound/soc/sh/fsi-da7210.c | |||
@@ -10,16 +10,7 @@ | |||
10 | * option) any later version. | 10 | * option) any later version. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/interrupt.h> | ||
14 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
15 | #include <linux/io.h> | ||
16 | #include <linux/i2c.h> | ||
17 | #include <sound/core.h> | ||
18 | #include <sound/pcm.h> | ||
19 | #include <sound/pcm_params.h> | ||
20 | #include <sound/soc.h> | ||
21 | #include <sound/soc-dapm.h> | ||
22 | |||
23 | #include <sound/sh_fsi.h> | 14 | #include <sound/sh_fsi.h> |
24 | #include "../codecs/da7210.h" | 15 | #include "../codecs/da7210.h" |
25 | 16 | ||
@@ -33,7 +24,7 @@ static int fsi_da7210_init(struct snd_soc_codec *codec) | |||
33 | static struct snd_soc_dai_link fsi_da7210_dai = { | 24 | static struct snd_soc_dai_link fsi_da7210_dai = { |
34 | .name = "DA7210", | 25 | .name = "DA7210", |
35 | .stream_name = "DA7210", | 26 | .stream_name = "DA7210", |
36 | .cpu_dai = &fsi_soc_dai[1], /* FSI B */ | 27 | .cpu_dai = &fsi_soc_dai[FSI_PORT_B], |
37 | .codec_dai = &da7210_dai, | 28 | .codec_dai = &da7210_dai, |
38 | .init = fsi_da7210_init, | 29 | .init = fsi_da7210_init, |
39 | }; | 30 | }; |
@@ -56,7 +47,7 @@ static int __init fsi_da7210_sound_init(void) | |||
56 | { | 47 | { |
57 | int ret; | 48 | int ret; |
58 | 49 | ||
59 | fsi_da7210_snd_device = platform_device_alloc("soc-audio", -1); | 50 | fsi_da7210_snd_device = platform_device_alloc("soc-audio", FSI_PORT_B); |
60 | if (!fsi_da7210_snd_device) | 51 | if (!fsi_da7210_snd_device) |
61 | return -ENOMEM; | 52 | return -ENOMEM; |
62 | 53 | ||