diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-13 11:08:03 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-14 12:14:03 -0400 |
commit | e5e8e6182a3b9514cde41d957684b59ee8f6cf21 (patch) | |
tree | 584b06cd46140e8d369c0476f095485dea539e29 | |
parent | ade82fdbae6905e80f107596f2e0b4df84490d28 (diff) |
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>
-rw-r--r-- | sound/soc/codecs/rt5514.c | 2 |
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 = { | |||
1066 | .set_tdm_slot = rt5514_set_tdm_slot, | 1066 | .set_tdm_slot = rt5514_set_tdm_slot, |
1067 | }; | 1067 | }; |
1068 | 1068 | ||
1069 | struct snd_soc_dai_driver rt5514_dai[] = { | 1069 | static struct snd_soc_dai_driver rt5514_dai[] = { |
1070 | { | 1070 | { |
1071 | .name = "rt5514-aif1", | 1071 | .name = "rt5514-aif1", |
1072 | .id = 0, | 1072 | .id = 0, |