diff options
Diffstat (limited to 'sound/soc/at32/at32-pcm.c')
-rw-r--r-- | sound/soc/at32/at32-pcm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/at32/at32-pcm.c b/sound/soc/at32/at32-pcm.c index cf76e89fae6e..435f1daf177c 100644 --- a/sound/soc/at32/at32-pcm.c +++ b/sound/soc/at32/at32-pcm.c | |||
@@ -366,7 +366,7 @@ static struct snd_pcm_ops at32_pcm_ops = { | |||
366 | static u64 at32_pcm_dmamask = 0xffffffff; | 366 | static u64 at32_pcm_dmamask = 0xffffffff; |
367 | 367 | ||
368 | static int at32_pcm_new(struct snd_card *card, | 368 | static int at32_pcm_new(struct snd_card *card, |
369 | struct snd_soc_codec_dai *dai, | 369 | struct snd_soc_dai *dai, |
370 | struct snd_pcm *pcm) | 370 | struct snd_pcm *pcm) |
371 | { | 371 | { |
372 | int ret = 0; | 372 | int ret = 0; |
@@ -422,7 +422,7 @@ static void at32_pcm_free_dma_buffers(struct snd_pcm *pcm) | |||
422 | 422 | ||
423 | #ifdef CONFIG_PM | 423 | #ifdef CONFIG_PM |
424 | static int at32_pcm_suspend(struct platform_device *pdev, | 424 | static int at32_pcm_suspend(struct platform_device *pdev, |
425 | struct snd_soc_cpu_dai *dai) | 425 | struct snd_soc_dai *dai) |
426 | { | 426 | { |
427 | struct snd_pcm_runtime *runtime = dai->runtime; | 427 | struct snd_pcm_runtime *runtime = dai->runtime; |
428 | struct at32_runtime_data *prtd; | 428 | struct at32_runtime_data *prtd; |
@@ -447,7 +447,7 @@ static int at32_pcm_suspend(struct platform_device *pdev, | |||
447 | 447 | ||
448 | 448 | ||
449 | static int at32_pcm_resume(struct platform_device *pdev, | 449 | static int at32_pcm_resume(struct platform_device *pdev, |
450 | struct snd_soc_cpu_dai *dai) | 450 | struct snd_soc_dai *dai) |
451 | { | 451 | { |
452 | struct snd_pcm_runtime *runtime = dai->runtime; | 452 | struct snd_pcm_runtime *runtime = dai->runtime; |
453 | struct at32_runtime_data *prtd; | 453 | struct at32_runtime_data *prtd; |