mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-18 20:54:20 +00:00
mfd: stpmic1: Make stpmic1_regmap_config static
Fix sparse warning: drivers/mfd/stpmic1.c:62:28: warning: symbol 'stpmic1_regmap_config' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
parent
8bc401f3f5
commit
0c09e712b3
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ static const struct regmap_access_table stpmic1_volatile_table = {
|
||||||
.n_yes_ranges = ARRAY_SIZE(stpmic1_volatile_ranges),
|
.n_yes_ranges = ARRAY_SIZE(stpmic1_volatile_ranges),
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct regmap_config stpmic1_regmap_config = {
|
static const struct regmap_config stpmic1_regmap_config = {
|
||||||
.reg_bits = 8,
|
.reg_bits = 8,
|
||||||
.val_bits = 8,
|
.val_bits = 8,
|
||||||
.cache_type = REGCACHE_RBTREE,
|
.cache_type = REGCACHE_RBTREE,
|
||||||
|
|
Loading…
Add table
Reference in a new issue