summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-04 18:29:30 +0100
committerMark Brown <broonie@kernel.org>2015-02-04 21:08:59 +0100
commite7a0332f716d92b9a80c46fbd7d624c502984ca7 (patch)
tree835e540f226480be0e7b1e356dab422228cd978e /sound
parentLinux 3.19-rc1 (diff)
downloadlinux-e7a0332f716d92b9a80c46fbd7d624c502984ca7.tar.xz
linux-e7a0332f716d92b9a80c46fbd7d624c502984ca7.zip
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')
-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;