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 ARM: s5pv210: don't imply CONFIG_PLAT_SAMSUNG 2020-08-19 21:34:26 +02:00
Makefile ASoC: samsung: Add sound support for Midas boards 2020-07-30 21:00:29 +01:00
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 ASoC: samsung: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:45 +00:00
dma.h ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
dmaengine.c ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
h1940_uda1380.c ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header 2022-08-17 14:24:04 +02:00
i2s-regs.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
i2s.c ASoC: samsung: i2s: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:20 +01:00
i2s.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
idma.c ASoC: samsung: idma: Check of ioremap return value 2022-01-27 11:04:17 +01:00
idma.h ASoC: samsung: idma: Convert to SPDX License Identifier 2019-04-19 16:50:17 +01:00
jive_wm8750.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
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 ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
neo1973_wm8753.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
odroid.c ASoC: samsung: Use dev_err_probe() helper 2022-06-09 10:22:56 +02:00
pcm.c ASoC: samsung: pcm: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:21 +01:00
pcm.h ASoC: samsung: pcm: Convert to SPDX License Identifier 2019-04-19 16:53:12 +01:00
regs-i2s-v2.h ASoC: samsung: s3c-i2s-v2: Convert to SPDX License Identifier 2019-04-19 16:53:40 +01:00
regs-iis.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
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 ASoC: samsung: s3c2412-i2s: avoid hardcoded S3C2410_PA_IIS 2020-08-19 20:15:45 +01:00
s3c-i2s-v2.h ASoC: samsung: s3c2412-i2s: avoid hardcoded S3C2410_PA_IIS 2020-08-19 20:15:45 +01:00
s3c24xx-i2s.c ASoC: samsung: s3c24xx-i2s: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:23 +01:00
s3c24xx-i2s.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
s3c24xx_simtec.c ASoC: samsung: s3c24xx_simtec: fix spelling mistake "devicec" -> "device" 2021-09-01 16:46:48 +01:00
s3c24xx_simtec.h ASoC: samsung: s3c24xx_simtec*: Convert to SPDX License Identifier 2019-04-19 16:54:45 +01:00
s3c24xx_simtec_hermes.c ASoC: samsung: s3c24xx_simtec_hermes: use modern dai_link style 2019-06-06 21:30:41 +01:00
s3c24xx_simtec_tlv320aic23.c ASoC: samsung: s3c24xx_simtec_tlv320aic23: use modern dai_link style 2019-06-06 21:30:31 +01:00
s3c24xx_uda134x.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
s3c2412-i2s.c ASoC: samsung: s3c2412-i2s: Use devm_platform_get_and_ioremap_resource() 2021-06-21 13:06:22 +01:00
s3c2412-i2s.h ASoC: samsung: s3c2412-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:29 +01:00
smartq_wm8987.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
smdk_spdif.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
smdk_wm8580.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
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 ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
spdif.h ASoC: samsung: spdif: Convert to SPDX License Identifier 2019-04-19 16:58:21 +01:00
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