ASoC: wm8580: Fix non static symbol warnings
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 29 Oct 2016 16:27:23 +0000 (16:27 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 29 Oct 2016 18:00:37 +0000 (12:00 -0600)
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>
sound/soc/codecs/wm8580.c

index aecd3c99e60446f97b2afd14feef290b95763bf4..da93b703ed49f7001c32911b6570338c8b41a53b 100644 (file)
@@ -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,
 };