diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-10-29 12:27:23 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-29 14:00:37 -0400 |
commit | 2f3d1b659344ad28bd559dcb2176e9ae84a2b044 (patch) | |
tree | 60ecf5ec4802e56c464459bd9042bde91bffcd2e | |
parent | 028f5a5bc85378317099be47995269d1027b0309 (diff) |
ASoC: wm8580: Fix non static symbol warnings
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/wm8580.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index aecd3c99e604..da93b703ed49 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c | |||
@@ -985,11 +985,11 @@ static const struct regmap_config wm8580_regmap = { | |||
985 | .volatile_reg = wm8580_volatile, | 985 | .volatile_reg = wm8580_volatile, |
986 | }; | 986 | }; |
987 | 987 | ||
988 | const struct wm8580_driver_data wm8580_data = { | 988 | static const struct wm8580_driver_data wm8580_data = { |
989 | .num_dacs = 3, | 989 | .num_dacs = 3, |
990 | }; | 990 | }; |
991 | 991 | ||
992 | const struct wm8580_driver_data wm8581_data = { | 992 | static const struct wm8580_driver_data wm8581_data = { |
993 | .num_dacs = 4, | 993 | .num_dacs = 4, |
994 | }; | 994 | }; |
995 | 995 | ||