Browse Source

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>
Lars-Peter Clausen 10 years ago
parent
commit
85cf604edc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/sti/uniperif_player.c

+ 1 - 1
sound/soc/sti/uniperif_player.c

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