summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-26 13:44:13 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2011-12-06 10:59:46 +0100
commit8d8ff4a9ae6fcc9d39888ac40f2b9990a9df2614 (patch)
tree35799c672c66e828e4f21e57c81b828db1b63c83 /sound
parent55303da348d5f2e045d448aa6299b6fd83fa4626 (diff)
sound: pcm: ux500 porting to 3.1
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/ux500/ux500_pcm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c
index ee953f1b5e5..fdcc69c4fa7 100644
--- a/sound/soc/ux500/ux500_pcm.c
+++ b/sound/soc/ux500/ux500_pcm.c
@@ -332,10 +332,10 @@ static struct snd_pcm_ops ux500_pcm_ops = {
.mmap = ux500_pcm_mmap
};
-int ux500_pcm_new(struct snd_card *card,
- struct snd_soc_dai *dai,
- struct snd_pcm *pcm)
+int ux500_pcm_new(struct snd_soc_pcm_runtime *rtd)
{
+ struct snd_pcm *pcm = rtd->pcm;
+
pr_debug("%s: pcm = %d\n", __func__, (int)pcm);
pcm->info_flags = 0;