summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cq93vc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-02-04 17:08:53 +0100
committerTakashi Iwai <tiwai@suse.de>2011-02-04 17:08:53 +0100
commit00e6a31984cd1adaa7cbb8bb7603e3241b26ef55 (patch)
tree5e35118463b3fe5512d6d4e7dca57d10bab5c135 /sound/soc/codecs/cq93vc.c
parentddfb319926462fd9670b7c1678a1f6a14a68e421 (diff)
parentf019ee5feb344ff0b22b58df4568676295aae14f (diff)
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/codecs/cq93vc.c')
-rw-r--r--sound/soc/codecs/cq93vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cq93vc.c b/sound/soc/codecs/cq93vc.c
index 46dbfd067f79..347a567b01e1 100644
--- a/sound/soc/codecs/cq93vc.c
+++ b/sound/soc/codecs/cq93vc.c
@@ -153,7 +153,7 @@ static int cq93vc_resume(struct snd_soc_codec *codec)
static int cq93vc_probe(struct snd_soc_codec *codec)
{
- struct davinci_vc *davinci_vc = codec->dev->platform_data;
+ struct davinci_vc *davinci_vc = snd_soc_codec_get_drvdata(codec);
davinci_vc->cq93vc.codec = codec;
codec->control_data = davinci_vc;