]> Pileus Git - ~andy/linux/blobdiff - sound/soc/codecs/cx20442.c
Merge branch 'topic/asoc' into for-linus
[~andy/linux] / sound / soc / codecs / cx20442.c
index 9f169c4771080c43a06f509771619339589dedad..f07a415c753fd12a31d1b24d7cc4e82deafa5819 100644 (file)
@@ -387,7 +387,7 @@ static int cx20442_register(struct cx20442_priv *cx20442)
 
        codec->name = "CX20442";
        codec->owner = THIS_MODULE;
-       codec->private_data = cx20442;
+       snd_soc_codec_set_drvdata(codec, cx20442);
 
        codec->dai = &cx20442_dai;
        codec->num_dai = 1;