ASoC: Staticise twl6040_hs_jack_report()
PATCH 1/1 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 <[email protected]>
--- sound/soc/codecs/twl6040.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/twl6040.c +2 -2
@@ -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;
Signature · 1 line
1.7.2.3
Liam Girdwood
AppliedQuoted 13 lines · Mark Brown
It's an internal function so shouldn't be exported (as sparse points out).
Signed-off-by Mark Brown <[email protected]>--- sound/soc/codecs/twl6040.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)sound/soc/codecs/twl6040.c +0
-0
sound/soc/codecs/twl6040.c static int twl6040_power_mode_event(struct snd_soc_dapm_widget *w, · line 731
Quoted 10 lines
sound/soc/codecs/twl6040.c +2
-2@@ -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
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk