From: YueHaibing Date: Tue, 16 Apr 2019 14:52:51 +0000 (+0800) Subject: ASoC: amd: acp3x: Make acp3x_dai_i2s_ops static X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~2950^2~10^2^2~51 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a1a86e1bd4a87fd09171fd8555fe7490917e4e94;p=mirror_ubuntu-focal-kernel.git 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 Signed-off-by: YueHaibing Signed-off-by: Mark Brown --- 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,