From: Lars-Peter Clausen Date: Mon, 27 Jul 2015 08:56:27 +0000 (+0200) Subject: ASoC: uniperf: Staticise local symbols X-Git-Tag: v4.14-rc1~4700^2~13^2~5^4~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85cf604edc18722140f73e225394722801e55de0;p=platform%2Fkernel%2Flinux-rpi.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 Acked-by: Arnaud Pouliquen Signed-off-by: Mark Brown --- diff --git a/sound/soc/sti/uniperif_player.c b/sound/soc/sti/uniperif_player.c index f609089..d8df906 100644 --- a/sound/soc/sti/uniperif_player.c +++ b/sound/soc/sti/uniperif_player.c @@ -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,