Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f3d1b65 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown
Browse files

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: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 028f5a5b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
};