Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1511834
| From | Wei Yongjun <weiyj.lk@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH -next] ASoC: wm8580: Fix non static symbol warnings |
| Date | 2016-10-29 18:30 +0200 |
| Message-ID | <sxEG5-sz-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Wei Yongjun <weiyongjun1@huawei.com>
Fixes the following sparse warnings:
sound/soc/codecs/wm8580.c:988:33: warning:
symbol 'wm8580_data' was not declared. Should it be static?
sound/soc/codecs/wm8580.c:992:33: warning:
symbol 'wm8581_data' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
sound/soc/codecs/wm8580.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
index aecd3c9..da93b70 100644
--- a/sound/soc/codecs/wm8580.c
+++ b/sound/soc/codecs/wm8580.c
@@ -985,11 +985,11 @@ static const struct regmap_config wm8580_regmap = {
.volatile_reg = wm8580_volatile,
};
-const struct wm8580_driver_data wm8580_data = {
+static const struct wm8580_driver_data wm8580_data = {
.num_dacs = 3,
};
-const struct wm8580_driver_data wm8581_data = {
+static const struct wm8580_driver_data wm8581_data = {
.num_dacs = 4,
};
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH -next] ASoC: wm8580: Fix non static symbol warnings Wei Yongjun <weiyj.lk@gmail.com> - 2016-10-29 18:30 +0200 Applied "ASoC: wm8580: Fix non static symbol warnings" to the asoc tree Mark Brown <broonie@kernel.org> - 2016-10-29 20:20 +0200
csiph-web