Commit 6d564345 authored by Takashi Iwai's avatar Takashi Iwai

ASoC: wm8753 - Fix build error

sound/soc/codecs/wm8753.c: In function 'wm8753_probe':
sound/soc/codecs/wm8753.c:1577: error: implicit declaration of function 'wm8753_add_controls'
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e611bd82
...@@ -1574,7 +1574,8 @@ static int wm8753_probe(struct platform_device *pdev) ...@@ -1574,7 +1574,8 @@ static int wm8753_probe(struct platform_device *pdev)
goto pcm_err; goto pcm_err;
} }
wm8753_add_controls(codec); snd_soc_add_controls(codec, wm8753_snd_controls,
ARRAY_SIZE(wm8753_snd_controls));
wm8753_add_widgets(codec); wm8753_add_widgets(codec);
ret = snd_soc_init_card(socdev); ret = snd_soc_init_card(socdev);
if (ret < 0) { if (ret < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment