summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorWei Yongjun2018-03-29 04:14:03 +0200
committerMark Brown2018-04-16 19:00:30 +0200
commitede1d3534f589d69b381e8509f3d01ec1e23c804 (patch)
tree8c6b3fb74989729d1772ed3743b01ce1ad18e1c0 /sound/soc/amd
parentASoC: topology: Add definitions for mclk_direction values (diff)
downloadkernel-qcow2-linux-ede1d3534f589d69b381e8509f3d01ec1e23c804.tar.gz
kernel-qcow2-linux-ede1d3534f589d69b381e8509f3d01ec1e23c804.tar.xz
kernel-qcow2-linux-ede1d3534f589d69b381e8509f3d01ec1e23c804.zip
ASoC: amd: acp-da7219-max98357: Make symbol da7219_dai_clk static
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>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r--sound/soc/amd/acp-da7219-max98357a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7219-max98357a.c
index d281c227d64c..215b06bf2039 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -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)
{