From: Yang Yingliang Date: Tue, 25 Jul 2023 12:09:17 +0000 (+0800) Subject: ASoC: cs42l51: change cs42l51_of_match to static X-Git-Tag: v6.6.7~1940^2^2~182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df8d014edd646692302f3e8ef0bd63a041f4547f;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Charles Keepax Link: https://lore.kernel.org/r/20230725120917.513064-1-yangyingliang@huawei.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/cs42l51-i2c.c b/sound/soc/codecs/cs42l51-i2c.c index e7db7bc..5ed2ef8 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", }, { } };