OMAP: McBSP: Fix static function warning
PATCH 1/1 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?
--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/omap/omap-mcbsp.c +1 -1
@@ -780,7 +780,7 @@ struct snd_soc_dai omap_mcbsp_dai[] = {EXPORT_SYMBOL_GPL (omap_mcbsp_dai); -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 =
Signature · 1 line
1.7.0.4
Quoted 5 lines · Manjunath Kondaiah
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?
Quoted 8 lines
Signed-off-by G, Manjunath Kondaiah <[email protected]>Cc Jarkko Nikula <[email protected]>Cc Peter Ujfalusi <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Tony Lindgren <[email protected]>Cc Nishanth Menon <[email protected]>
The patch name could be ASoC: omap-mcbsp: ...
Other than that:
Jarkko Nikula
Acked-byQuoted 15 lines · On Wed, 8 Sep 2010 09:03:09 +0300 Peter Ujfalusi <[email protected]>…
Quoted 5 lines · Manjunath Kondaiah
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?Quoted 8 lines
Signed-off-by G, Manjunath Kondaiah <[email protected]>Cc Jarkko Nikula <[email protected]>Cc Peter Ujfalusi <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Tony Lindgren <[email protected]>Cc Nishanth Menon <[email protected]>
Quoted 5 lines
The patch name could be ASoC: omap-mcbsp: ...
Other than that:
Acked-by Peter Ujfalusi <[email protected]>
Yep, name should start with ASoC.
Quoted 3 lines · Manjunath Kondaiah
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?
Liam Girdwood
AppliedQuoted 22 lines · Manjunath Kondaiah
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 <[email protected]>Cc Jarkko Nikula <[email protected]>Cc Peter Ujfalusi <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Tony Lindgren <[email protected]>Cc Nishanth Menon <[email protected]>--- sound/soc/omap/omap-mcbsp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)sound/soc/omap/omap-mcbsp.c +0
-0
sound/soc/omap/omap-mcbsp.c struct snd_soc_dai omap_mcbsp_dai[] = { · line 786
Quoted 8 lines
sound/soc/omap/omap-mcbsp.c +1
-1@@ -780,7 +780,7 @@ struct snd_soc_dai omap_mcbsp_dai[] = {EXPORT_SYMBOL_GPL (omap_mcbsp_dai); -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 =
Applied.
Thanks
Liam
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk