Skip to contentSkip to conversation

ASoC: cs42l83: change cs42l83_regmap to static

PATCH In review Yang Yingliang 2 participants 2 messages Sep 21, 2022 – Oct 18, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 sound/soc/codecs/cs42l83-i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/cs42l83-i2c.c +1 -1
index f90d43996a51..37629ebd90e0 100644
@@ -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,
 
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 3 lines · Yang Yingliang

cs42l83_regmap is only used in cs42l83-i2c.c now, change it to static.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: cs42l83: change cs42l83_regmap to static

      commit: fb07a8493a7b205116c9825b16267a07ffae129c

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark