Browse Source

ASoC: ts3a227e: fix sparse warning

this patch fixes following sparse warning:
ts3a227e.c:222:5: warning: symbol 'ts3a227e_enable_jack_detect' was not declared. Should it be static?

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Lad, Prabhakar 10 years ago
parent
commit
e7a0332f71
1 changed files with 2 additions and 0 deletions
  1. 2 0
      sound/soc/codecs/ts3a227e.c

+ 2 - 0
sound/soc/codecs/ts3a227e.c

@@ -20,6 +20,8 @@
 #include <sound/jack.h>
 #include <sound/jack.h>
 #include <sound/soc.h>
 #include <sound/soc.h>
 
 
+#include "ts3a227e.h"
+
 struct ts3a227e {
 struct ts3a227e {
 	struct regmap *regmap;
 	struct regmap *regmap;
 	struct snd_soc_jack *jack;
 	struct snd_soc_jack *jack;