aboutsummaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/pxa/tosa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c
index 8c3c6b0534d..5504e30acf1 100644
--- a/sound/soc/pxa/tosa.c
+++ b/sound/soc/pxa/tosa.c
@@ -40,6 +40,7 @@
#include "../codecs/wm9712.h"
#include "pxa2xx-pcm.h"
+#include "pxa2xx-ac97.h"
static struct snd_soc_machine tosa;
@@ -228,12 +229,14 @@ static struct snd_soc_dai_link tosa_dai[] = {
.cpu_dai = &pxa_ac97_dai[PXA2XX_DAI_AC97_HIFI],
.codec_dai = &wm9712_dai[WM9712_DAI_AC97_HIFI],
.init = tosa_ac97_init,
+ .ops = &tosa_ops,
},
{
.name = "AC97 Aux",
.stream_name = "AC97 Aux",
.cpu_dai = &pxa_ac97_dai[PXA2XX_DAI_AC97_AUX],
.codec_dai = &wm9712_dai[WM9712_DAI_AC97_AUX],
+ .ops = &tosa_ops,
},
};
@@ -241,7 +244,6 @@ static struct snd_soc_machine tosa = {
.name = "Tosa",
.dai_link = tosa_dai,
.num_links = ARRAY_SIZE(tosa_dai),
- .ops = &tosa_ops,
};
static struct snd_soc_device tosa_snd_devdata = {