projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6256547
)
ASoC: codecs: es8326: change es8326_regmap_config to static
author
Yang Yingliang
<yangyingliang@huawei.com>
Wed, 17 Aug 2022 09:15:19 +0000
(17:15 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 17 Aug 2022 12:00:26 +0000
(13:00 +0100)
es8326_regmap_config is only used in es8326.c now, change it to static.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link:
https://lore.kernel.org/r/20220817091519.2487385-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/es8326.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/es8326.c
b/sound/soc/codecs/es8326.c
index
975302b
..
87c1cc1
100755
(executable)
--- a/
sound/soc/codecs/es8326.c
+++ b/
sound/soc/codecs/es8326.c
@@
-207,7
+207,7
@@
static const struct regmap_access_table es8326_volatile_table = {
.n_yes_ranges = ARRAY_SIZE(es8326_volatile_ranges),
};
-const struct regmap_config es8326_regmap_config = {
+
static
const struct regmap_config es8326_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = 0xff,