summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-05-16 16:24:56 +0000
committerMark Brown <broonie@kernel.org>2017-05-17 10:31:22 +0100
commit18fe7869764c0b86e8ce6539bbb6e528f1d9928f (patch)
treec022a9d4f86de842ec85f0703633ba3f23fbd7a6 /sound/soc/codecs
parentb98ae9ad559fea64dee5fcc8e3ba4bf936ceb5e6 (diff)
downloadblackbird-obmc-linux-18fe7869764c0b86e8ce6539bbb6e528f1d9928f.tar.gz
blackbird-obmc-linux-18fe7869764c0b86e8ce6539bbb6e528f1d9928f.zip
ASoC: rt5665: make local symbol rt5665_i2c_driver static
Fixes the following sparse warnings: sound/soc/codecs/rt5665.c:4928:19: warning: symbol 'rt5665_i2c_driver' was not declared. Should it be static? 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/rt5665.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5665.c b/sound/soc/codecs/rt5665.c
index c0f36d85ee4d..7420010fd8e9 100644
--- a/sound/soc/codecs/rt5665.c
+++ b/sound/soc/codecs/rt5665.c
@@ -4929,7 +4929,7 @@ static struct acpi_device_id rt5665_acpi_match[] = {
MODULE_DEVICE_TABLE(acpi, rt5665_acpi_match);
#endif
-struct i2c_driver rt5665_i2c_driver = {
+static struct i2c_driver rt5665_i2c_driver = {
.driver = {
.name = "rt5665",
.of_match_table = of_match_ptr(rt5665_of_match),
OpenPOWER on IntegriCloud