projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7aecd
)
ASoC: cs42l51: change cs42l51_of_match to static
author
Yang Yingliang
<yangyingliang@huawei.com>
Tue, 25 Jul 2023 12:09:17 +0000
(20:09 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 25 Jul 2023 16:40:24 +0000
(17:40 +0100)
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>
sound/soc/codecs/cs42l51-i2c.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l51-i2c.c
b/sound/soc/codecs/cs42l51-i2c.c
index
e7db7bc
..
5ed2ef8
100644
(file)
--- 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", },
{ }
};