From: Wei Yongjun Date: Sat, 29 Oct 2016 16:27:23 +0000 (+0000) Subject: ASoC: wm8580: Fix non static symbol warnings X-Git-Tag: v4.10-rc1~121^2~3^2~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f3d1b659344ad28bd559dcb2176e9ae84a2b044;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Mark Brown --- 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 = { .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, };