ASoC: ts3a227e: fix sparse warning
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Wed, 4 Feb 2015 17:29:30 +0000 (17:29 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2015 20:08:59 +0000 (20:08 +0000)
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>
sound/soc/codecs/ts3a227e.c

index 1d12057..6528bfe 100644 (file)
@@ -20,6 +20,8 @@
 #include <sound/jack.h>
 #include <sound/soc.h>
 
+#include "ts3a227e.h"
+
 struct ts3a227e {
        struct regmap *regmap;
        struct snd_soc_jack *jack;