aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/txx9/txx9aclc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/txx9/txx9aclc.c')
-rw-r--r--sound/soc/txx9/txx9aclc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/txx9/txx9aclc.c b/sound/soc/txx9/txx9aclc.c
index f4aa4e03c888..34aa972669ed 100644
--- a/sound/soc/txx9/txx9aclc.c
+++ b/sound/soc/txx9/txx9aclc.c
@@ -288,9 +288,10 @@ static void txx9aclc_pcm_free_dma_buffers(struct snd_pcm *pcm)
288 snd_pcm_lib_preallocate_free_for_all(pcm); 288 snd_pcm_lib_preallocate_free_for_all(pcm);
289} 289}
290 290
291static int txx9aclc_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, 291static int txx9aclc_pcm_new(struct snd_soc_pcm_runtime *rtd)
292 struct snd_pcm *pcm)
293{ 292{
293 struct snd_soc_dai *dai = rtd->cpu_dai;
294 struct snd_pcm *pcm = rtd->pcm;
294 struct platform_device *pdev = to_platform_device(dai->platform->dev); 295 struct platform_device *pdev = to_platform_device(dai->platform->dev);
295 struct txx9aclc_soc_device *dev; 296 struct txx9aclc_soc_device *dev;
296 struct resource *r; 297 struct resource *r;