aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorG, Manjunath Kondaiah <manjugk@ti.com>2010-09-07 23:23:43 -0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-09-08 07:14:02 -0400
commit3484457fc5fcdb650e03d375f1f6e66db93d6109 (patch)
tree26677dbc09ca043413752debee9ee5f8a508dedf
parent1fdc7dd537b78e73dfaca1ebfe497a05a2d34c9e (diff)
OMAP: McBSP: Fix static function warning
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>
-rw-r--r--sound/soc/omap/omap-mcbsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 7ba5690118f8..99696187b55a 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -759,7 +759,7 @@ static struct snd_soc_dai_driver omap_mcbsp_dai =
759 .ops = &mcbsp_dai_ops, 759 .ops = &mcbsp_dai_ops,
760}; 760};
761 761
762int omap_mcbsp_st_info_volsw(struct snd_kcontrol *kcontrol, 762static int omap_mcbsp_st_info_volsw(struct snd_kcontrol *kcontrol,
763 struct snd_ctl_elem_info *uinfo) 763 struct snd_ctl_elem_info *uinfo)
764{ 764{
765 struct soc_mixer_control *mc = 765 struct soc_mixer_control *mc =