aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8996.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
-rw-r--r--sound/soc/codecs/wm8996.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8996.c b/sound/soc/codecs/wm8996.c
index a73044251218..5eba8ffba427 100644
--- a/sound/soc/codecs/wm8996.c
+++ b/sound/soc/codecs/wm8996.c
@@ -2684,18 +2684,20 @@ static int wm8996_remove(struct snd_soc_codec *codec)
2684 return 0; 2684 return 0;
2685} 2685}
2686 2686
2687static struct snd_soc_codec_driver soc_codec_dev_wm8996 = { 2687static const struct snd_soc_codec_driver soc_codec_dev_wm8996 = {
2688 .probe = wm8996_probe, 2688 .probe = wm8996_probe,
2689 .remove = wm8996_remove, 2689 .remove = wm8996_remove,
2690 .set_bias_level = wm8996_set_bias_level, 2690 .set_bias_level = wm8996_set_bias_level,
2691 .idle_bias_off = true, 2691 .idle_bias_off = true,
2692 .seq_notifier = wm8996_seq_notifier, 2692 .seq_notifier = wm8996_seq_notifier,
2693 .controls = wm8996_snd_controls, 2693 .component_driver = {
2694 .num_controls = ARRAY_SIZE(wm8996_snd_controls), 2694 .controls = wm8996_snd_controls,
2695 .dapm_widgets = wm8996_dapm_widgets, 2695 .num_controls = ARRAY_SIZE(wm8996_snd_controls),
2696 .num_dapm_widgets = ARRAY_SIZE(wm8996_dapm_widgets), 2696 .dapm_widgets = wm8996_dapm_widgets,
2697 .dapm_routes = wm8996_dapm_routes, 2697 .num_dapm_widgets = ARRAY_SIZE(wm8996_dapm_widgets),
2698 .num_dapm_routes = ARRAY_SIZE(wm8996_dapm_routes), 2698 .dapm_routes = wm8996_dapm_routes,
2699 .num_dapm_routes = ARRAY_SIZE(wm8996_dapm_routes),
2700 },
2699 .set_pll = wm8996_set_fll, 2701 .set_pll = wm8996_set_fll,
2700}; 2702};
2701 2703