diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-02-13 07:29:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-13 12:52:56 +0100 |
commit | a4cbb465bcc98f1c5740c887d4be3a68f1a47279 (patch) | |
tree | 662dd3b8e7f8e72ea8d4c83b18b311a92a7588f5 /sound/soc/codecs | |
parent | ASoC: mediatek: mt8183: make some functions static (diff) | |
download | linux-a4cbb465bcc98f1c5740c887d4be3a68f1a47279.tar.xz linux-a4cbb465bcc98f1c5740c887d4be3a68f1a47279.zip |
ASoC: cros_ec_codec: Make symbol 'cros_ec_dai' static
Fixes the following sparse warning:
sound/soc/codecs/cros_ec_codec.c:209:27: warning:
symbol 'cros_ec_dai' was not declared. Should it be static?
Fixes: b291f42a3718 ("ASoC: cros_ec_codec: Add codec driver for Cros EC")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r-- | sound/soc/codecs/cros_ec_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cros_ec_codec.c b/sound/soc/codecs/cros_ec_codec.c index b14100b6a939..99a3af8a15ff 100644 --- a/sound/soc/codecs/cros_ec_codec.c +++ b/sound/soc/codecs/cros_ec_codec.c @@ -206,7 +206,7 @@ static const struct snd_soc_dai_ops cros_ec_i2s_dai_ops = { .set_fmt = cros_ec_i2s_set_dai_fmt, }; -struct snd_soc_dai_driver cros_ec_dai[] = { +static struct snd_soc_dai_driver cros_ec_dai[] = { { .name = "cros_ec_codec I2S", .id = 0, |