]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: uniperf: Staticise local symbols
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 27 Jul 2015 08:56:27 +0000 (10:56 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jul 2015 14:07:16 +0000 (15:07 +0100)
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>
sound/soc/sti/uniperif_player.c

index f609089a6e00eb928bb965a6091c7b7d1c6abc24..d8df906992a368f53a4faa7114f7e3dee4f256d4 100644 (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,