Skip to content

Commit 2f3d1b6

Browse files
Wei Yongjunbroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 028f5a5 commit 2f3d1b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/codecs/wm8580.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -985,11 +985,11 @@ static const struct regmap_config wm8580_regmap = {
985985
.volatile_reg = wm8580_volatile,
986986
};
987987

988-
const struct wm8580_driver_data wm8580_data = {
988+
static const struct wm8580_driver_data wm8580_data = {
989989
.num_dacs = 3,
990990
};
991991

992-
const struct wm8580_driver_data wm8581_data = {
992+
static const struct wm8580_driver_data wm8581_data = {
993993
.num_dacs = 4,
994994
};
995995

0 commit comments

Comments
 (0)