Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Wei Yongjun and committed by
Mark Brown
ee85be8c 88b1c01f

+3 -3
+3 -3
sound/soc/codecs/cs53l30.c
··· 180 180 "DMIC1 Off ADC1 Off", 181 181 }; 182 182 183 - unsigned int const input1_sel_values[] = { 183 + static unsigned int const input1_sel_values[] = { 184 184 CS53L30_CH_TYPE, 185 185 CS53L30_ADCxB_PDN | CS53L30_CH_TYPE, 186 186 CS53L30_ADCxA_PDN | CS53L30_CH_TYPE, ··· 200 200 "DMIC2 Off ADC2 Off", 201 201 }; 202 202 203 - unsigned int const input2_sel_values[] = { 203 + static unsigned int const input2_sel_values[] = { 204 204 0x0, 205 205 CS53L30_ADCxB_PDN, 206 206 CS53L30_ADCxA_PDN, ··· 738 738 CS53L30_ASP_3ST_MASK, val); 739 739 } 740 740 741 - unsigned int const cs53l30_src_rates[] = { 741 + static unsigned int const cs53l30_src_rates[] = { 742 742 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 743 743 }; 744 744