diff options
Diffstat (limited to 'sound/soc/codecs/wm8580.c')
-rw-r--r-- | sound/soc/codecs/wm8580.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index 66602bf02f6e..faa7287a5253 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c | |||
@@ -899,17 +899,19 @@ static int wm8580_remove(struct snd_soc_codec *codec) | |||
899 | return 0; | 899 | return 0; |
900 | } | 900 | } |
901 | 901 | ||
902 | static struct snd_soc_codec_driver soc_codec_dev_wm8580 = { | 902 | static const struct snd_soc_codec_driver soc_codec_dev_wm8580 = { |
903 | .probe = wm8580_probe, | 903 | .probe = wm8580_probe, |
904 | .remove = wm8580_remove, | 904 | .remove = wm8580_remove, |
905 | .set_bias_level = wm8580_set_bias_level, | 905 | .set_bias_level = wm8580_set_bias_level, |
906 | 906 | ||
907 | .controls = wm8580_snd_controls, | 907 | .component_driver = { |
908 | .num_controls = ARRAY_SIZE(wm8580_snd_controls), | 908 | .controls = wm8580_snd_controls, |
909 | .dapm_widgets = wm8580_dapm_widgets, | 909 | .num_controls = ARRAY_SIZE(wm8580_snd_controls), |
910 | .num_dapm_widgets = ARRAY_SIZE(wm8580_dapm_widgets), | 910 | .dapm_widgets = wm8580_dapm_widgets, |
911 | .dapm_routes = wm8580_dapm_routes, | 911 | .num_dapm_widgets = ARRAY_SIZE(wm8580_dapm_widgets), |
912 | .num_dapm_routes = ARRAY_SIZE(wm8580_dapm_routes), | 912 | .dapm_routes = wm8580_dapm_routes, |
913 | .num_dapm_routes = ARRAY_SIZE(wm8580_dapm_routes), | ||
914 | }, | ||
913 | }; | 915 | }; |
914 | 916 | ||
915 | static const struct of_device_id wm8580_of_match[] = { | 917 | static const struct of_device_id wm8580_of_match[] = { |