summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp872x.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-12-11 17:48:32 +0000
committerMark Brown <broonie@kernel.org>2020-12-11 17:48:32 +0000
commit5e999f10a16b90fc1d5ded8aa365e9804e894aa9 (patch)
tree01a608e25dbfdc4f08a30e5f5c817b9146cff85d /drivers/regulator/lp872x.c
parent291de1d102fafef0798cdad9666cd4f8da7da7cc (diff)
parent2819569147cb6e79730f2907d3ab3dfe75fe8478 (diff)
downloadlinux-5e999f10a16b90fc1d5ded8aa365e9804e894aa9.tar.bz2
Merge remote-tracking branch 'regulator/for-5.11' into regulator-next
Diffstat (limited to 'drivers/regulator/lp872x.c')
-rw-r--r--drivers/regulator/lp872x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c
index 303d7e2dc838..e84be29533f4 100644
--- a/drivers/regulator/lp872x.c
+++ b/drivers/regulator/lp872x.c
@@ -892,7 +892,7 @@ static int lp872x_probe(struct i2c_client *cl, const struct i2c_device_id *id)
struct lp872x *lp;
struct lp872x_platform_data *pdata;
int ret;
- const int lp872x_num_regulators[] = {
+ static const int lp872x_num_regulators[] = {
[LP8720] = LP8720_NUM_REGULATORS,
[LP8725] = LP8725_NUM_REGULATORS,
};