提交 85cf604e 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

ASoC: uniperf: Staticise local symbols

uni_player_dai_ops is not used outside of this file so it should be static.
Fixes the following sparse warning:

	sound/soc/sti/uniperif_player.c:959:30: warning: symbol
		'uni_player_dai_ops' was not declared. Should it be static?
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Acked-by: NArnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 b917abb4
...@@ -956,7 +956,7 @@ static int uni_player_parse_dt(struct platform_device *pdev, ...@@ -956,7 +956,7 @@ static int uni_player_parse_dt(struct platform_device *pdev,
return 0; return 0;
} }
const struct snd_soc_dai_ops uni_player_dai_ops = { static const struct snd_soc_dai_ops uni_player_dai_ops = {
.startup = uni_player_startup, .startup = uni_player_startup,
.shutdown = uni_player_shutdown, .shutdown = uni_player_shutdown,
.prepare = uni_player_prepare, .prepare = uni_player_prepare,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册