浏览代码

ASoC: rk3399_gru_sound: Fix non static symbol warning

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>
Wei Yongjun 8 年之前
父节点
当前提交
818f768319
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/soc/rockchip/rk3399_gru_sound.c

+ 1 - 1
sound/soc/rockchip/rk3399_gru_sound.c

@@ -38,7 +38,7 @@
 
 
 #define SOUND_FS	256
 #define SOUND_FS	256
 
 
-unsigned int rt5514_dmic_delay;
+static unsigned int rt5514_dmic_delay;
 
 
 static struct snd_soc_jack rockchip_sound_jack;
 static struct snd_soc_jack rockchip_sound_jack;