summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-10-26 13:44:13 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:57 +0200
commit9a36947ae22c4e2dc59d9aa913b94e307ece37df (patch)
treecd672cbfed012910c93f873f6b4014b48cc1c944
parent73539ffe8af083232fda5472b1e67e6a26ebdf7f (diff)
sound: pcm: ux500 porting to 3.1
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
-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;