[alsa-devel] [PATCH] ASoC: Staticise twl6040_hs_jack_report()

Liam Girdwood lrg at slimlogic.co.uk
Fri Jan 21 17:46:38 CET 2011


On Thu, 2011-01-20 at 21:43 +0000, Mark Brown wrote:
> It's an internal function so shouldn't be exported (as sparse points
> out).
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/twl6040.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
> index 4bbf1b1..482fcdb 100644
> --- a/sound/soc/codecs/twl6040.c
> +++ b/sound/soc/codecs/twl6040.c
> @@ -724,8 +724,8 @@ static int twl6040_power_mode_event(struct snd_soc_dapm_widget *w,
>  	return 0;
>  }
>  
> -void twl6040_hs_jack_report(struct snd_soc_codec *codec,
> -				struct snd_soc_jack *jack, int report)
> +static void twl6040_hs_jack_report(struct snd_soc_codec *codec,
> +				   struct snd_soc_jack *jack, int report)
>  {
>  	struct twl6040_data *priv = snd_soc_codec_get_drvdata(codec);
>  	int status;

Applied.

Thanks

Liam
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list