ASoC: amd: acp-da7219-max98357: Make symbol da7219_dai_clk static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 29 Mar 2018 02:14:03 +0000 (02:14 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Apr 2018 17:00:30 +0000 (18:00 +0100)
Fixes the following sparse warning:

sound/soc/amd/acp-da7219-max98357a.c:46:12: warning:
 symbol 'da7219_dai_clk' 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/amd/acp-da7219-max98357a.c

index d281c22..215b06b 100644 (file)
@@ -44,7 +44,7 @@
 #define DUAL_CHANNEL           2
 
 static struct snd_soc_jack cz_jack;
-struct clk *da7219_dai_clk;
+static struct clk *da7219_dai_clk;
 
 static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd)
 {