diff options
Diffstat (limited to 'sound/soc/codecs/cx20442.c')
-rw-r--r-- | sound/soc/codecs/cx20442.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cx20442.c b/sound/soc/codecs/cx20442.c index e000cdfec1ec..203e51f91489 100644 --- a/sound/soc/codecs/cx20442.c +++ b/sound/soc/codecs/cx20442.c | |||
@@ -386,7 +386,7 @@ static int cx20442_register(struct cx20442_priv *cx20442) | |||
386 | 386 | ||
387 | codec->name = "CX20442"; | 387 | codec->name = "CX20442"; |
388 | codec->owner = THIS_MODULE; | 388 | codec->owner = THIS_MODULE; |
389 | codec->private_data = cx20442; | 389 | snd_soc_codec_set_drvdata(codec, cx20442); |
390 | 390 | ||
391 | codec->dai = &cx20442_dai; | 391 | codec->dai = &cx20442_dai; |
392 | codec->num_dai = 1; | 392 | codec->num_dai = 1; |