diff options
Diffstat (limited to 'sound/soc/atmel/atmel-pcm.c')
-rw-r--r-- | sound/soc/atmel/atmel-pcm.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c index 394412fb396f..8507aa1cd811 100644 --- a/sound/soc/atmel/atmel-pcm.c +++ b/sound/soc/atmel/atmel-pcm.c | |||
@@ -417,8 +417,7 @@ static void atmel_pcm_free_dma_buffers(struct snd_pcm *pcm) | |||
417 | } | 417 | } |
418 | 418 | ||
419 | #ifdef CONFIG_PM | 419 | #ifdef CONFIG_PM |
420 | static int atmel_pcm_suspend(struct platform_device *pdev, | 420 | static int atmel_pcm_suspend(struct snd_soc_dai *dai) |
421 | struct snd_soc_dai *dai) | ||
422 | { | 421 | { |
423 | struct snd_pcm_runtime *runtime = dai->runtime; | 422 | struct snd_pcm_runtime *runtime = dai->runtime; |
424 | struct atmel_runtime_data *prtd; | 423 | struct atmel_runtime_data *prtd; |
@@ -442,8 +441,7 @@ static int atmel_pcm_suspend(struct platform_device *pdev, | |||
442 | return 0; | 441 | return 0; |
443 | } | 442 | } |
444 | 443 | ||
445 | static int atmel_pcm_resume(struct platform_device *pdev, | 444 | static int atmel_pcm_resume(struct snd_soc_dai *dai) |
446 | struct snd_soc_dai *dai) | ||
447 | { | 445 | { |
448 | struct snd_pcm_runtime *runtime = dai->runtime; | 446 | struct snd_pcm_runtime *runtime = dai->runtime; |
449 | struct atmel_runtime_data *prtd; | 447 | struct atmel_runtime_data *prtd; |