OSDN Git Service

ASoC: rt5677: rt5677_check_hotword() can be static
authorkbuild test robot <lkp@intel.com>
Thu, 14 Nov 2019 15:33:04 +0000 (23:33 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 18 Nov 2019 12:55:59 +0000 (12:55 +0000)
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>
sound/soc/codecs/rt5677.c

index f2f763b..e9a051a 100644 (file)
@@ -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;