diff options
Diffstat (limited to 'sound/soc/codecs/max9877.c')
-rw-r--r-- | sound/soc/codecs/max9877.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max9877.c b/sound/soc/codecs/max9877.c index dcf6f2a1600a..3a2ba3d8fd6d 100644 --- a/sound/soc/codecs/max9877.c +++ b/sound/soc/codecs/max9877.c | |||
@@ -253,7 +253,7 @@ static const struct snd_kcontrol_new max9877_controls[] = { | |||
253 | /* This function is called from ASoC machine driver */ | 253 | /* This function is called from ASoC machine driver */ |
254 | int max9877_add_controls(struct snd_soc_codec *codec) | 254 | int max9877_add_controls(struct snd_soc_codec *codec) |
255 | { | 255 | { |
256 | return snd_soc_add_controls(codec, max9877_controls, | 256 | return snd_soc_add_codec_controls(codec, max9877_controls, |
257 | ARRAY_SIZE(max9877_controls)); | 257 | ARRAY_SIZE(max9877_controls)); |
258 | } | 258 | } |
259 | EXPORT_SYMBOL_GPL(max9877_add_controls); | 259 | EXPORT_SYMBOL_GPL(max9877_add_controls); |