1
0
Fork 0

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>
hifive-unleashed-5.1
Lars-Peter Clausen 2015-07-27 10:56:27 +02:00 committed by Mark Brown
parent b917abb406
commit 85cf604edc
1 changed files with 1 additions and 1 deletions

View File

@ -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,