Skip to content

Commit

Permalink
ASoC: uniperf: Staticise local symbols
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Jul 29, 2015
1 parent b917abb commit 85cf604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/sti/uniperif_player.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 85cf604

Please sign in to comment.