]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
OMAP: McBSP: Fix static function warning
authorG, Manjunath Kondaiah <manjugk@ti.com>
Wed, 8 Sep 2010 03:23:43 +0000 (08:53 +0530)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 8 Sep 2010 11:14:02 +0000 (12:14 +0100)
This patch fixes sparse warning due non declaration of static function

sound/soc/omap/omap-mcbsp.c:783:5: warning: symbol 'omap_mcbsp_st_info_volsw' was not declared. Should it be static?

Signed-off-by: G, Manjunath Kondaiah <manjugk@ti.com>
Cc: alsa-devel@alsa-project.org
Cc: Jarkko Nikula <jhnikula@gmail.com>
Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Nishanth Menon <nm@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/omap/omap-mcbsp.c

index 7ba5690118f867a9c5465c9349819e086f8b736d..99696187b55a8c0023171d383c102147599ab4c6 100644 (file)
@@ -759,7 +759,7 @@ static struct snd_soc_dai_driver omap_mcbsp_dai =
        .ops = &mcbsp_dai_ops,
 };
 
-int omap_mcbsp_st_info_volsw(struct snd_kcontrol *kcontrol,
+static int omap_mcbsp_st_info_volsw(struct snd_kcontrol *kcontrol,
                        struct snd_ctl_elem_info *uinfo)
 {
        struct soc_mixer_control *mc =