]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: change neo1973_audio from a global to static
authorTom Rix <trix@redhat.com>
Wed, 29 Jun 2022 20:18:11 +0000 (16:18 -0400)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jun 2022 12:40:29 +0000 (13:40 +0100)
commit7cff28f8a3a63959cbd0f00a4a982317905e90ec
tree3c29bbd3efce011540aeab44af956b1f758b63d4
parentef4176e84b8b2a308204143e9cdf9b1e54bce4f8
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: 972a0d912c67 ("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>
sound/soc/samsung/neo1973_wm8753.c