ASoC: rk3399_gru_sound: Fix non static symbol warning
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 15:15:18 +0000 (15:15 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 17:28:22 +0000 (18:28 +0100)
Fixes the following sparse warning:

sound/soc/rockchip/rk3399_gru_sound.c:41:14: warning:
 symbol 'rt5514_dmic_delay' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rk3399_gru_sound.c

index 9ed735a6cf49ac352d237850423a276ed926ffd4..0cbd23555ba4f752cf4cb2db07283e36e46db5ac 100644 (file)
@@ -38,7 +38,7 @@
 
 #define SOUND_FS       256
 
-unsigned int rt5514_dmic_delay;
+static unsigned int rt5514_dmic_delay;
 
 static struct snd_soc_jack rockchip_sound_jack;