mirror of https://gitee.com/openkylin/linux.git
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: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b917abb406
commit
85cf604edc
|
@ -956,7 +956,7 @@ static int uni_player_parse_dt(struct platform_device *pdev,
|
|||
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,
|
||||
.shutdown = uni_player_shutdown,
|
||||
.prepare = uni_player_prepare,
|
||||
|
|
Loading…
Reference in New Issue