Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

YueHaibing and committed by
Lee Jones
0c09e712 8bc401f3

+1 -1
+1 -1
drivers/mfd/stpmic1.c
··· 59 59 .n_yes_ranges = ARRAY_SIZE(stpmic1_volatile_ranges), 60 60 }; 61 61 62 - const struct regmap_config stpmic1_regmap_config = { 62 + static const struct regmap_config stpmic1_regmap_config = { 63 63 .reg_bits = 8, 64 64 .val_bits = 8, 65 65 .cache_type = REGCACHE_RBTREE,