diff options
Diffstat (limited to 'sound/soc/pxa/pxa2xx-pcm.c')
-rw-r--r-- | sound/soc/pxa/pxa2xx-pcm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c index 2ce0b2d891d5..d73d6f6fb12d 100644 --- a/sound/soc/pxa/pxa2xx-pcm.c +++ b/sound/soc/pxa/pxa2xx-pcm.c | |||
@@ -85,9 +85,11 @@ static struct snd_pcm_ops pxa2xx_pcm_ops = { | |||
85 | 85 | ||
86 | static u64 pxa2xx_pcm_dmamask = DMA_BIT_MASK(32); | 86 | static u64 pxa2xx_pcm_dmamask = DMA_BIT_MASK(32); |
87 | 87 | ||
88 | static int pxa2xx_soc_pcm_new(struct snd_card *card, struct snd_soc_dai *dai, | 88 | static int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd) |
89 | struct snd_pcm *pcm) | ||
90 | { | 89 | { |
90 | struct snd_card *card = rtd->card->snd_card; | ||
91 | struct snd_soc_dai *dai = rtd->cpu_dai; | ||
92 | struct snd_pcm *pcm = rtd->pcm; | ||
91 | int ret = 0; | 93 | int ret = 0; |
92 | 94 | ||
93 | if (!card->dev->dma_mask) | 95 | if (!card->dev->dma_mask) |