OSDN Git Service

ASoC: mediatek: mt8186: set variable aud_pinctrl to static
authorTom Rix <trix@redhat.com>
Fri, 7 Apr 2023 11:55:53 +0000 (07:55 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 7 Apr 2023 16:23:08 +0000 (17:23 +0100)
commit672029caa5708934817a331f3323bbe48d456c5c
treeb62a03cfcc867a55fcbc39b26f46c1d1c96396eb
parentef736f30548951870e2a5bfc41b6b0bb1d455641
ASoC: mediatek: mt8186: set variable aud_pinctrl to static

smatch reports
sound/soc/mediatek/mt8186/mt8186-afe-gpio.c:14:16: warning: symbol
  'aud_pinctrl' was not declared. Should it be static?

This variable is only used in one file so should be static.

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230407115553.1968111-1-trix@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-afe-gpio.c