summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ts3a227e.c
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-04 20:29:30 +0300
committerMark Brown <broonie@kernel.org>2015-02-04 23:08:59 +0300
commite7a0332f716d92b9a80c46fbd7d624c502984ca7 (patch)
tree835e540f226480be0e7b1e356dab422228cd978e /sound/soc/codecs/ts3a227e.c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlinux-e7a0332f716d92b9a80c46fbd7d624c502984ca7.tar.xz
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>
Diffstat (limited to 'sound/soc/codecs/ts3a227e.c')
-rw-r--r--sound/soc/codecs/ts3a227e.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c
index 1d1205702d23..6528bfe5c2ff 100644
--- a/sound/soc/codecs/ts3a227e.c
+++ b/sound/soc/codecs/ts3a227e.c
@@ -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;