diff options
Diffstat (limited to 'sound/soc/codecs/wm8974.c')
-rw-r--r-- | sound/soc/codecs/wm8974.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c index ee637af4737a..1e4da32c4078 100644 --- a/sound/soc/codecs/wm8974.c +++ b/sound/soc/codecs/wm8974.c | |||
@@ -676,7 +676,7 @@ static __devinit int wm8974_register(struct wm8974_priv *wm8974) | |||
676 | INIT_LIST_HEAD(&codec->dapm_widgets); | 676 | INIT_LIST_HEAD(&codec->dapm_widgets); |
677 | INIT_LIST_HEAD(&codec->dapm_paths); | 677 | INIT_LIST_HEAD(&codec->dapm_paths); |
678 | 678 | ||
679 | codec->private_data = wm8974; | 679 | snd_soc_codec_set_drvdata(codec, wm8974); |
680 | codec->name = "WM8974"; | 680 | codec->name = "WM8974"; |
681 | codec->owner = THIS_MODULE; | 681 | codec->owner = THIS_MODULE; |
682 | codec->bias_level = SND_SOC_BIAS_OFF; | 682 | codec->bias_level = SND_SOC_BIAS_OFF; |