summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/es8326.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-08-17 12:15:19 +0300
committerMark Brown <broonie@kernel.org>2022-08-17 15:00:26 +0300
commit5c69f11ce85d4a8ea985a6d266574577e94c6506 (patch)
treefd88fd6214bab96c1e1b94b7d4eef02ed2eac551 /sound/soc/codecs/es8326.c
parent6256547352fa21356de8d26b058e50d719ecc0d2 (diff)
downloadlinux-5c69f11ce85d4a8ea985a6d266574577e94c6506.tar.xz
ASoC: codecs: es8326: change es8326_regmap_config to static
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>
Diffstat (limited to 'sound/soc/codecs/es8326.c')
-rwxr-xr-xsound/soc/codecs/es8326.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/es8326.c b/sound/soc/codecs/es8326.c
index 975302b2a61d..87c1cc16592b 100755
--- 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,