summaryrefslogtreecommitdiffstats
path: root/sound/soc/amd
diff options
context:
space:
mode:
authorYueHaibing2019-04-16 16:52:51 +0200
committerMark Brown2019-05-02 03:46:03 +0200
commita1a86e1bd4a87fd09171fd8555fe7490917e4e94 (patch)
tree4d16a7c23028f55f2bd9f49683bc225b78fa911e /sound/soc/amd
parentASoC: tlv320aic32x4: Remove set but not used variable 'mclk_rate' (diff)
downloadkernel-qcow2-linux-a1a86e1bd4a87fd09171fd8555fe7490917e4e94.tar.gz
kernel-qcow2-linux-a1a86e1bd4a87fd09171fd8555fe7490917e4e94.tar.xz
kernel-qcow2-linux-a1a86e1bd4a87fd09171fd8555fe7490917e4e94.zip
ASoC: amd: acp3x: Make acp3x_dai_i2s_ops static
Fix sparse warning: sound/soc/amd/raven/acp3x-pcm-dma.c:561:24: warning: symbol 'acp3x_dai_i2s_ops' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd')
-rw-r--r--sound/soc/amd/raven/acp3x-pcm-dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/raven/acp3x-pcm-dma.c b/sound/soc/amd/raven/acp3x-pcm-dma.c
index 1a2e15ff1456..9775bda2a4ca 100644
--- a/sound/soc/amd/raven/acp3x-pcm-dma.c
+++ b/sound/soc/amd/raven/acp3x-pcm-dma.c
@@ -558,7 +558,7 @@ static int acp3x_dai_i2s_trigger(struct snd_pcm_substream *substream,
return ret;
}
-struct snd_soc_dai_ops acp3x_dai_i2s_ops = {
+static struct snd_soc_dai_ops acp3x_dai_i2s_ops = {
.hw_params = acp3x_dai_i2s_hwparams,
.trigger = acp3x_dai_i2s_trigger,
.set_fmt = acp3x_dai_i2s_set_fmt,