diff options
Diffstat (limited to 'sound/soc/pxa/pxa2xx-i2s.c')
-rw-r--r-- | sound/soc/pxa/pxa2xx-i2s.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c index f9a9e2ebafa1..314973ace6dc 100644 --- a/sound/soc/pxa/pxa2xx-i2s.c +++ b/sound/soc/pxa/pxa2xx-i2s.c | |||
@@ -293,8 +293,7 @@ static void pxa2xx_i2s_shutdown(struct snd_pcm_substream *substream, | |||
293 | } | 293 | } |
294 | 294 | ||
295 | #ifdef CONFIG_PM | 295 | #ifdef CONFIG_PM |
296 | static int pxa2xx_i2s_suspend(struct platform_device *dev, | 296 | static int pxa2xx_i2s_suspend(struct snd_soc_dai *dai) |
297 | struct snd_soc_dai *dai) | ||
298 | { | 297 | { |
299 | if (!dai->active) | 298 | if (!dai->active) |
300 | return 0; | 299 | return 0; |
@@ -311,8 +310,7 @@ static int pxa2xx_i2s_suspend(struct platform_device *dev, | |||
311 | return 0; | 310 | return 0; |
312 | } | 311 | } |
313 | 312 | ||
314 | static int pxa2xx_i2s_resume(struct platform_device *pdev, | 313 | static int pxa2xx_i2s_resume(struct snd_soc_dai *dai) |
315 | struct snd_soc_dai *dai) | ||
316 | { | 314 | { |
317 | if (!dai->active) | 315 | if (!dai->active) |
318 | return 0; | 316 | return 0; |