From: Mark Brown Date: Thu, 20 Jan 2011 21:43:44 +0000 (+0000) Subject: ASoC: Staticise twl6040_hs_jack_report() X-Git-Tag: MMI-PSA29.97-13-9~16612^2~1226^2~8^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=64ed98365062b748770b340fd27ae34564a5a322;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: Staticise twl6040_hs_jack_report() It's an internal function so shouldn't be exported (as sparse points out). Signed-off-by: Mark Brown Signed-off-by: Liam Girdwood --- diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 4bbf1b15a493..482fcdb59bfa 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;