Skip to contentSkip to conversation

ASoC: cs42l51: change cs42l51_of_match to static

PATCH In review Yang Yingliang 3 participants 3 messages Jul 25, 2023

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

PATCH 1/1 ASoC: cs42l51: change cs42l51_of_match to static

cs42l51_of_match is only used in cs42l51-i2c.c now, change it to static.

---
 sound/soc/codecs/cs42l51-i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/cs42l51-i2c.c +1 -1
index e7db7bcd0296..5ed2ef83dcdb 100644
@@ -19,7 +19,7 @@ static struct i2c_device_id cs42l51_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, cs42l51_i2c_id);
 
-const struct of_device_id cs42l51_of_match[] = {
+static const struct of_device_id cs42l51_of_match[] = {
 	{ .compatible = "cirrus,cs42l51", },
 	{ }
 };
Signature · 1 line
2.25.1
maintainer
#2 lore raw
In reply to Yang Yingliang
Quoted 4 lines · Yang Yingliang

cs42l51_of_match is only used in cs42l51-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: cs42l51: change cs42l51_of_match to static

      commit: df8d014edd646692302f3e8ef0bd63a041f4547f

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