alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: Staticise twl6040_hs_jack_report()
@ 2011-01-20 21:43 Mark Brown
  2011-01-21 16:46 ` Liam Girdwood
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-01-20 21:43 UTC (permalink / raw)
  To: Margarita Olaya Cabrera, Misael Lopez Cruz, Liam Girdwood,
	Jorge Eduardo Candelaria
  Cc: alsa-devel, patches, Mark Brown

It's an internal function so shouldn't be exported (as sparse points
out).

Signed-off-by: Mark Brown <broonie@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;
-- 
1.7.2.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Staticise twl6040_hs_jack_report()
  2011-01-20 21:43 [PATCH] ASoC: Staticise twl6040_hs_jack_report() Mark Brown
@ 2011-01-21 16:46 ` Liam Girdwood
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2011-01-21 16:46 UTC (permalink / raw)
  To: Mark Brown
  Cc: Margarita Olaya Cabrera, Misael Lopez Cruz, patches,
	Jorge Eduardo Candelaria, alsa-devel

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@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-21 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-20 21:43 [PATCH] ASoC: Staticise twl6040_hs_jack_report() Mark Brown
2011-01-21 16:46 ` Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).