projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97bf6af
)
ASoC: ts3a227e: fix sparse warning
author
Lad, Prabhakar
<prabhakar.csengg@gmail.com>
Wed, 4 Feb 2015 17:29:30 +0000
(17:29 +0000)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ts3a227e.c
b/sound/soc/codecs/ts3a227e.c
index
1d12057
..
6528bfe
100644
(file)
--- 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;