diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-09-21 17:31:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-17 13:48:27 +0200 |
commit | fb07a8493a7b205116c9825b16267a07ffae129c (patch) | |
tree | a15f9933d36437f9826cd35edeb9bca0eb79321d /sound/soc/codecs/cs42l83-i2c.c | |
parent | ASoC: ak4458: add optional reset control to instead of gpio (diff) | |
download | linux-fb07a8493a7b205116c9825b16267a07ffae129c.tar.xz linux-fb07a8493a7b205116c9825b16267a07ffae129c.zip |
ASoC: cs42l83: change cs42l83_regmap to static
cs42l83_regmap is only used in cs42l83-i2c.c now, change it to static.
Fixes: 94d5f62a91aa ("ASoC: cs42l83: Extend CS42L42 support to new part")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220921153123.1508144-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l83-i2c.c')
-rw-r--r-- | sound/soc/codecs/cs42l83-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l83-i2c.c b/sound/soc/codecs/cs42l83-i2c.c index f90d43996a51..37629ebd90e0 100644 --- a/sound/soc/codecs/cs42l83-i2c.c +++ b/sound/soc/codecs/cs42l83-i2c.c @@ -145,7 +145,7 @@ static const struct reg_default cs42l83_reg_defaults[] = { * This is all the same as for CS42L42 but we * replace the on-reset register defaults. */ -const struct regmap_config cs42l83_regmap = { +static const struct regmap_config cs42l83_regmap = { .reg_bits = 8, .val_bits = 8, |