diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-01-26 11:39:04 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-28 12:20:54 +0000 |
commit | 367e90d13e9a49c3a56de0b397abb87ec550b199 (patch) | |
tree | a4e384b02f39c6adcea3ff77bb9293be7284e43d /drivers/regulator/lp8755.c | |
parent | 699bdc23bd663bdf31306c67336070c5cf1a67f1 (diff) |
regulator: lp8755: Constify lp8755_regulators
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/lp8755.c')
-rw-r--r-- | drivers/regulator/lp8755.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp8755.c b/drivers/regulator/lp8755.c index 6d229ad4ef3e..14fd38807134 100644 --- a/drivers/regulator/lp8755.c +++ b/drivers/regulator/lp8755.c @@ -315,7 +315,7 @@ out_i2c_error: .vsel_mask = LP8755_BUCK_VOUT_M,\ } -static struct regulator_desc lp8755_regulators[] = { +static const struct regulator_desc lp8755_regulators[] = { lp8755_buck_desc(0), lp8755_buck_desc(1), lp8755_buck_desc(2), |