ASoC: SMA1303: set sma_i2c_regmap storage-class-specifier to static
authorTom Rix <trix@redhat.com>
Thu, 9 Mar 2023 14:09:59 +0000 (09:09 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2023 14:08:44 +0000 (14:08 +0000)
commitd7d103d1779c3d0bc4d55f2802930a6b067450c0
tree2b0dcc6c779624247fc833b8d8d93ae0b662fa91
parent8cd3cb17fcf216cb859f86a00fff428fbcecc1d8
ASoC: SMA1303: set sma_i2c_regmap storage-class-specifier to static

smatch reports
sound/soc/codecs/sma1303.c:1594:28:
  warning: symbol 'sma_i2c_regmap' was not declared. Should it be static?

sma_i2c_regmap is only used in sma1303, so it should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230309140959.2616497-1-trix@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sma1303.c