[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1477758443-5682-1-git-send-email-weiyj.lk@gmail.com>
Date: Sat, 29 Oct 2016 16:27:23 +0000
From: Wei Yongjun <weiyj.lk@...il.com>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Matt Flax <flatmax@...tmax.org>
Cc: Wei Yongjun <weiyongjun1@...wei.com>,
patches@...nsource.wolfsonmicro.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: [PATCH -next] ASoC: wm8580: Fix non static symbol warnings
From: Wei Yongjun <weiyongjun1@...wei.com>
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@...wei.com>
---
sound/soc/codecs/wm8580.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
index aecd3c9..da93b70 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,
};
Powered by blists - more mailing lists