aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8753.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-26 05:29:58 -0500
committerTakashi Iwai <tiwai@suse.de>2009-02-26 05:29:58 -0500
commit6d5643455ced9ee45a4aa7403fe8056d826bde85 (patch)
tree9cf51e2eeb082cede27256a0aa8ec8b6d14e2272 /sound/soc/codecs/wm8753.c
parente611bd82441130991d7f4600dfd4632cebd417c5 (diff)
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: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm8753.c')
-rw-r--r--sound/soc/codecs/wm8753.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index 2241204b5151..7f353e935d71 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -1574,7 +1574,8 @@ static int wm8753_probe(struct platform_device *pdev)
1574 goto pcm_err; 1574 goto pcm_err;
1575 } 1575 }
1576 1576
1577 wm8753_add_controls(codec); 1577 snd_soc_add_controls(codec, wm8753_snd_controls,
1578 ARRAY_SIZE(wm8753_snd_controls));
1578 wm8753_add_widgets(codec); 1579 wm8753_add_widgets(codec);
1579 ret = snd_soc_init_card(socdev); 1580 ret = snd_soc_init_card(socdev);
1580 if (ret < 0) { 1581 if (ret < 0) {