summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5677.c
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-11-14 16:33:04 +0100
committerMark Brown <broonie@kernel.org>2019-11-18 13:55:59 +0100
commita3b9ed55775eb18ca9f1641f13328f479a3653cb (patch)
tree8f953e22b62cc22237eddd4f16a4a6203da6ff5c /sound/soc/codecs/rt5677.c
parentASoC: ti: davinci-mcasp: Use dma_request_chan() directly for channel request (diff)
downloadlinux-a3b9ed55775eb18ca9f1641f13328f479a3653cb.tar.xz
linux-a3b9ed55775eb18ca9f1641f13328f479a3653cb.zip
ASoC: rt5677: rt5677_check_hotword() can be static
Fixes: 21c00e5df439 ("ASoC: rt5677: Enable jack detect while DSP is running") Signed-off-by: kbuild test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20191114153304.n4pyix7qadu76tx4@4978f4969bb8 Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5677.c')
-rw-r--r--sound/soc/codecs/rt5677.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5677.c b/sound/soc/codecs/rt5677.c
index f2f763b4c399..e9a051a50ab2 100644
--- a/sound/soc/codecs/rt5677.c
+++ b/sound/soc/codecs/rt5677.c
@@ -5307,7 +5307,7 @@ static const struct rt5677_irq_desc rt5677_irq_descs[] = {
},
};
-bool rt5677_check_hotword(struct rt5677_priv *rt5677)
+static bool rt5677_check_hotword(struct rt5677_priv *rt5677)
{
int reg_gpio;