diff mbox

[-next] ASoC: rt5665: make local symbol rt5665_i2c_driver static

Message ID 20170516162456.18284-1-weiyj.lk@gmail.com (mailing list archive)
State Accepted
Commit 18fe7869764c0b86e8ce6539bbb6e528f1d9928f
Headers show

Commit Message

Wei Yongjun May 16, 2017, 4:24 p.m. UTC
From: Wei Yongjun <weiyongjun1@huawei.com>

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>
---
 sound/soc/codecs/rt5665.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mark Brown May 17, 2017, 9:35 a.m. UTC | #1
On Tue, May 16, 2017 at 04:24:56PM +0000, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@huawei.com>

Please try to send your mails from the address you're using for the
signoffs - if you send from another address it looks like you're
forwarding on someone else's patch without adding your signoff which
sets off alarm bells.
diff mbox

Patch

diff --git a/sound/soc/codecs/rt5665.c b/sound/soc/codecs/rt5665.c
index 26bf157..bb440bd 100644
--- a/sound/soc/codecs/rt5665.c
+++ b/sound/soc/codecs/rt5665.c
@@ -4925,7 +4925,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),