summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5514.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-08-13 18:08:03 +0300
committerMark Brown <broonie@kernel.org>2017-08-14 19:14:03 +0300
commite5e8e6182a3b9514cde41d957684b59ee8f6cf21 (patch)
tree584b06cd46140e8d369c0476f095485dea539e29 /sound/soc/codecs/rt5514.c
parentade82fdbae6905e80f107596f2e0b4df84490d28 (diff)
downloadlinux-e5e8e6182a3b9514cde41d957684b59ee8f6cf21.tar.xz
ASoC: rt5514: make array rt5514_dai static
The array rt5514_dai is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warnings: symbol 'rt5514_dai' was not declared. Should it be static? warning: symbol 'rt5514_dai' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5514.c')
-rw-r--r--sound/soc/codecs/rt5514.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5514.c b/sound/soc/codecs/rt5514.c
index 0eabe569ab73..a694ce9fed86 100644
--- a/sound/soc/codecs/rt5514.c
+++ b/sound/soc/codecs/rt5514.c
@@ -1066,7 +1066,7 @@ static const struct snd_soc_dai_ops rt5514_aif_dai_ops = {
.set_tdm_slot = rt5514_set_tdm_slot,
};
-struct snd_soc_dai_driver rt5514_dai[] = {
+static struct snd_soc_dai_driver rt5514_dai[] = {
{
.name = "rt5514-aif1",
.id = 0,