summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-03-29 02:14:03 +0000
committerMark Brown <broonie@kernel.org>2018-04-16 18:01:54 +0100
commitdc29f581fa9d5567c3a01ecfdd7f16b2e613c7fb (patch)
tree273a7c45dcf44c357610a64478488f5e916f38c5 /sound
parent5ef5ac8de125fe6b4b23293bee026ca7ea1529b9 (diff)
downloadlinux-0-day-dc29f581fa9d5567c3a01ecfdd7f16b2e613c7fb.tar.gz
linux-0-day-dc29f581fa9d5567c3a01ecfdd7f16b2e613c7fb.tar.xz
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')
-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 b205c782e4941..f41560ecbcd18 100644
--- a/sound/soc/amd/acp-da7219-max98357a.c
+++ b/sound/soc/amd/acp-da7219-max98357a.c
@@ -43,7 +43,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)
{