summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs42l51-i2c.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2023-07-25 14:09:17 +0200
committerMark Brown <broonie@kernel.org>2023-07-25 18:40:24 +0200
commitdf8d014edd646692302f3e8ef0bd63a041f4547f (patch)
treea48ea20007389c474d5792daed09593311ebd47e /sound/soc/codecs/cs42l51-i2c.c
parentASoC: rt1017: Add RT1017 SDCA amplifier driver (diff)
downloadlinux-df8d014edd646692302f3e8ef0bd63a041f4547f.tar.xz
linux-df8d014edd646692302f3e8ef0bd63a041f4547f.zip
ASoC: cs42l51: change cs42l51_of_match to static
cs42l51_of_match is only used in cs42l51-i2c.c now, change it to static. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230725120917.513064-1-yangyingliang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l51-i2c.c')
-rw-r--r--sound/soc/codecs/cs42l51-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l51-i2c.c b/sound/soc/codecs/cs42l51-i2c.c
index e7db7bcd0296..5ed2ef83dcdb 100644
--- a/sound/soc/codecs/cs42l51-i2c.c
+++ b/sound/soc/codecs/cs42l51-i2c.c
@@ -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", },
{ }
};