summaryrefslogtreecommitdiffstats
path: root/sound/soc/sti/uniperif_player.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-07-27 10:56:27 +0200
committerMark Brown <broonie@kernel.org>2015-07-29 15:07:16 +0100
commit85cf604edc18722140f73e225394722801e55de0 (patch)
tree646a3e73a437b4a450a754a9dc7058885992a0b8 /sound/soc/sti/uniperif_player.c
parentb917abb4064b38b0613e953b09213e788ad94ad0 (diff)
downloadblackbird-op-linux-85cf604edc18722140f73e225394722801e55de0.tar.gz
blackbird-op-linux-85cf604edc18722140f73e225394722801e55de0.zip
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>
Diffstat (limited to 'sound/soc/sti/uniperif_player.c')
-rw-r--r--sound/soc/sti/uniperif_player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sti/uniperif_player.c b/sound/soc/sti/uniperif_player.c
index f609089a6e00..d8df906992a3 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,
OpenPOWER on IntegriCloud