projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98ae9a
)
ASoC: rt5665: make local symbol rt5665_i2c_driver static
author
Wei Yongjun
<weiyongjun1@huawei.com>
Tue, 16 May 2017 16:24:56 +0000
(16:24 +0000)
committer
Mark Brown
<broonie@kernel.org>
Wed, 17 May 2017 09:31:22 +0000
(10:31 +0100)
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>
sound/soc/codecs/rt5665.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5665.c
b/sound/soc/codecs/rt5665.c
index c0f36d85ee4d50c3bf6a794b5153414746b47e81..7420010fd8e9fca33119442d8a50badf23365c33 100644
(file)
--- 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 = {
+st
atic st
ruct i2c_driver rt5665_i2c_driver = {
.driver = {
.name = "rt5665",
.of_match_table = of_match_ptr(rt5665_of_match),