[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170516162456.18284-1-weiyj.lk@gmail.com>
Date: Tue, 16 May 2017 16:24:56 +0000
From: Wei Yongjun <weiyj.lk@...il.com>
To: Bard Liao <bardliao@...ltek.com>,
Oder Chiou <oder_chiou@...ltek.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Cc: Wei Yongjun <weiyongjun1@...wei.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: [PATCH -next] ASoC: rt5665: make local symbol rt5665_i2c_driver static
From: Wei Yongjun <weiyongjun1@...wei.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@...wei.com>
---
sound/soc/codecs/rt5665.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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),
Powered by blists - more mailing lists