Skip to content

Commit

Permalink
ASoC: wm8580: Fix non static symbol warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Mark Brown committed Oct 29, 2016
1 parent 028f5a5 commit 2f3d1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/codecs/wm8580.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit 2f3d1b6

Please sign in to comment.