WSL2-Linux-Kernel/sound/soc/samsung
Tom Rix 76385916d0 ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables
[ Upstream commit d2294461b9 ]

sparse reports
sound/soc/samsung/rx1950_uda1380.c:131:18: warning: symbol 'gpiod_speaker_power' was not declared. Should it be static?
sound/soc/samsung/rx1950_uda1380.c:231:24: warning: symbol 'rx1950_audio' was not declared. Should it be static?

Both gpiod_speaker_power and rx1950_audio are only used in rx1950_uda1380.c,
so their storage class specifiers should be static.

Fixes: 83d74e3542 ("ASoC: samsung: rx1950: turn into platform driver")
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220629185345.910406-1-trix@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:24:04 +02:00
..
Kconfig
Makefile
aries_wm8994.c ASoC: samsung: Fix error handling in aries_audio_probe 2022-08-17 14:24:02 +02:00
arndale.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
bells.c
dma.h
dmaengine.c
h1940_uda1380.c ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header 2022-08-17 14:24:04 +02:00
i2s-regs.h
i2s.c
i2s.h
idma.c
idma.h
jive_wm8750.c
littlemill.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
lowland.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
midas_wm1811.c
neo1973_wm8753.c
odroid.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
pcm.c
pcm.h
regs-i2s-v2.h
regs-iis.h
rx1950_uda1380.c ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables 2022-08-17 14:24:04 +02:00
s3c-i2s-v2.c
s3c-i2s-v2.h
s3c24xx-i2s.c
s3c24xx-i2s.h
s3c24xx_simtec.c
s3c24xx_simtec.h
s3c24xx_simtec_hermes.c
s3c24xx_simtec_tlv320aic23.c
s3c24xx_uda134x.c
s3c2412-i2s.c
s3c2412-i2s.h
smartq_wm8987.c
smdk_spdif.c
smdk_wm8580.c
smdk_wm8994.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
smdk_wm8994pcm.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
snow.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
spdif.c
spdif.h
speyside.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
tm2_wm5110.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
tobermory.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00