summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-04 17:29:30 +0000
committerMark Brown <broonie@kernel.org>2015-02-04 20:08:59 +0000
commite7a0332f716d92b9a80c46fbd7d624c502984ca7 (patch)
tree835e540f226480be0e7b1e356dab422228cd978e /sound/soc/codecs
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadkernel-e7a0332f716d92b9a80c46fbd7d624c502984ca7.tar.gz
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')
-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;