Commit 01c4cad4 authored by Ben Dooks's avatar Ben Dooks Committed by Mark Brown

ASoC: Fix jive_wm8750.c build problems

Fix build errors in sound/soc/s3c24xx/jive_wm8750.c
from changes to ASoC.
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent a5735b7e
...@@ -69,8 +69,8 @@ static int jive_hw_params(struct snd_pcm_substream *substream, ...@@ -69,8 +69,8 @@ static int jive_hw_params(struct snd_pcm_substream *substream,
break; break;
} }
s3c_i2sv2_calc_rate(&div, NULL, params_rate(params), s3c_i2sv2_iis_calc_rate(&div, NULL, params_rate(params),
s3c2412_get_iisclk()); s3c2412_get_iisclk());
/* set codec DAI configuration */ /* set codec DAI configuration */
ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S | ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
...@@ -145,8 +145,9 @@ static struct snd_soc_dai_link jive_dai = { ...@@ -145,8 +145,9 @@ static struct snd_soc_dai_link jive_dai = {
}; };
/* jive audio machine driver */ /* jive audio machine driver */
static struct snd_soc_machine snd_soc_machine_jive = { static struct snd_soc_card snd_soc_machine_jive = {
.name = "Jive", .name = "Jive",
.platform = &s3c24xx_soc_platform,
.dai_link = &jive_dai, .dai_link = &jive_dai,
.num_links = 1, .num_links = 1,
}; };
...@@ -157,9 +158,8 @@ static struct wm8750_setup_data jive_wm8750_setup = { ...@@ -157,9 +158,8 @@ static struct wm8750_setup_data jive_wm8750_setup = {
/* jive audio subsystem */ /* jive audio subsystem */
static struct snd_soc_device jive_snd_devdata = { static struct snd_soc_device jive_snd_devdata = {
.machine = &snd_soc_machine_jive, .card = &snd_soc_machine_jive,
.platform = &s3c24xx_soc_platform, .codec_dev = &soc_codec_dev_wm8750,
.codec_dev = &soc_codec_dev_wm8750_spi,
.codec_data = &jive_wm8750_setup, .codec_data = &jive_wm8750_setup,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment