aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/davinci/davinci-pcm.c')
-rw-r--r--sound/soc/davinci/davinci-pcm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c
index c9e0320f6289..a49e667373bc 100644
--- a/sound/soc/davinci/davinci-pcm.c
+++ b/sound/soc/davinci/davinci-pcm.c
@@ -833,9 +833,11 @@ static void davinci_pcm_free(struct snd_pcm *pcm)
833 833
834static u64 davinci_pcm_dmamask = 0xffffffff; 834static u64 davinci_pcm_dmamask = 0xffffffff;
835 835
836static int davinci_pcm_new(struct snd_card *card, 836static int davinci_pcm_new(struct snd_soc_pcm_runtime *rtd)
837 struct snd_soc_dai *dai, struct snd_pcm *pcm)
838{ 837{
838 struct snd_card *card = rtd->card->snd_card;
839 struct snd_soc_dai *dai = rtd->cpu_dai;
840 struct snd_pcm *pcm = rtd->pcm;
839 int ret; 841 int ret;
840 842
841 if (!card->dev->dma_mask) 843 if (!card->dev->dma_mask)