ASoC: Staticise twl6040_hs_jack_report()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 20 Jan 2011 21:43:44 +0000 (21:43 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 21 Jan 2011 16:44:44 +0000 (16:44 +0000)
It's an internal function so shouldn't be exported (as sparse points
out).

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/twl6040.c

index 4bbf1b15a493ab3d39268d719d6780acfba407a0..482fcdb59bfa57c3d82eaa002b3e23d8b5bf760d 100644 (file)
@@ -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;