aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2016-06-17 13:22:00 -0400
committerMark Brown <broonie@kernel.org>2016-06-18 09:09:18 -0400
commitee85be8c9b5277a50bf6491c30b2736a5562331b (patch)
tree257e4550482fff27328bf5aa187537fdba14c71d
parent88b1c01fb42e3d637c7e7f36cd4a30ce39a2add4 (diff)
ASoC: cs53l30: Fix non static symbol warnings
Fixes the following sparse warnings: sound/soc/codecs/cs53l30.c:182:20: warning: symbol 'input1_sel_values' was not declared. Should it be static? sound/soc/codecs/cs53l30.c:202:20: warning: symbol 'input2_sel_values' was not declared. Should it be static? sound/soc/codecs/cs53l30.c:734:20: warning: symbol 'cs53l30_src_rates' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Acked-by: Nicolin Chen <nicoleotsuka@gmail.com> Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/cs53l30.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs53l30.c b/sound/soc/codecs/cs53l30.c
index 384a3f79f1c5..a5976f3b589a 100644
--- a/sound/soc/codecs/cs53l30.c
+++ b/sound/soc/codecs/cs53l30.c
@@ -180,7 +180,7 @@ static const char * const input1_sel_text[] = {
180 "DMIC1 Off ADC1 Off", 180 "DMIC1 Off ADC1 Off",
181}; 181};
182 182
183unsigned int const input1_sel_values[] = { 183static unsigned int const input1_sel_values[] = {
184 CS53L30_CH_TYPE, 184 CS53L30_CH_TYPE,
185 CS53L30_ADCxB_PDN | CS53L30_CH_TYPE, 185 CS53L30_ADCxB_PDN | CS53L30_CH_TYPE,
186 CS53L30_ADCxA_PDN | CS53L30_CH_TYPE, 186 CS53L30_ADCxA_PDN | CS53L30_CH_TYPE,
@@ -200,7 +200,7 @@ static const char * const input2_sel_text[] = {
200 "DMIC2 Off ADC2 Off", 200 "DMIC2 Off ADC2 Off",
201}; 201};
202 202
203unsigned int const input2_sel_values[] = { 203static unsigned int const input2_sel_values[] = {
204 0x0, 204 0x0,
205 CS53L30_ADCxB_PDN, 205 CS53L30_ADCxB_PDN,
206 CS53L30_ADCxA_PDN, 206 CS53L30_ADCxA_PDN,
@@ -738,7 +738,7 @@ static int cs53l30_set_tristate(struct snd_soc_dai *dai, int tristate)
738 CS53L30_ASP_3ST_MASK, val); 738 CS53L30_ASP_3ST_MASK, val);
739} 739}
740 740
741unsigned int const cs53l30_src_rates[] = { 741static unsigned int const cs53l30_src_rates[] = {
742 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 742 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000
743}; 743};
744 744