summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-06-29 22:18:11 +0200
committerMark Brown <broonie@kernel.org>2022-06-30 14:40:29 +0200
commit871325d800ed532ba5874257f04bb4ae75125bc4 (patch)
tree3c29bbd3efce011540aeab44af956b1f758b63d4 /sound/soc/samsung
parentASoC: codecs: wsa883x: add control, dapm widgets and map (diff)
downloadlinux-871325d800ed532ba5874257f04bb4ae75125bc4.tar.xz
linux-871325d800ed532ba5874257f04bb4ae75125bc4.zip
ASoC: samsung: change neo1973_audio from a global to static
sparse reports sound/soc/samsung/neo1973_wm8753.c:347:24: warning: symbol 'neo1973_audio' was not declared. Should it be static? neo1973_audio is only used in neo1973_wm8753.c, so it's storage class specifier should be static. Fixes: e26a2abcc246 ("ASoC: samsung: neo1973: 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/20220629201811.2537853-1-trix@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r--sound/soc/samsung/neo1973_wm8753.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/neo1973_wm8753.c b/sound/soc/samsung/neo1973_wm8753.c
index c98b68567a89..e9f2334028bf 100644
--- a/sound/soc/samsung/neo1973_wm8753.c
+++ b/sound/soc/samsung/neo1973_wm8753.c
@@ -344,7 +344,7 @@ static int neo1973_probe(struct platform_device *pdev)
return devm_snd_soc_register_card(dev, &neo1973);
}
-struct platform_driver neo1973_audio = {
+static struct platform_driver neo1973_audio = {
.driver = {
.name = "neo1973-audio",
.pm = &snd_soc_pm_ops,