ASoC: wm8753 - Fix build error
authorTakashi Iwai <tiwai@suse.de>
Thu, 26 Feb 2009 10:29:58 +0000 (11:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Feb 2009 10:29:58 +0000 (11:29 +0100)
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>
sound/soc/codecs/wm8753.c

index 2241204b5151f70296bb551243080ef710c5fa99..7f353e935d7191ecd7ec541ce2177ceed7fb9547 100644 (file)
@@ -1574,7 +1574,8 @@ static int wm8753_probe(struct platform_device *pdev)
                goto pcm_err;
        }
 
-       wm8753_add_controls(codec);
+       snd_soc_add_controls(codec, wm8753_snd_controls,
+                            ARRAY_SIZE(wm8753_snd_controls));
        wm8753_add_widgets(codec);
        ret = snd_soc_init_card(socdev);
        if (ret < 0) {