summaryrefslogtreecommitdiff
path: root/drivers/regulator/lp3971.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2019-03-04 18:32:43 +0300
committerMark Brown <broonie@kernel.org>2019-03-04 18:32:43 +0300
commit88f268a5bcc3b0683e6fbaf9973702e5329fc1e3 (patch)
treea64bf49e575ece017359ba5ac89fbc52efd81f2a /drivers/regulator/lp3971.c
parentc364098fe8745b08a491fb43de785806ca91ba5e (diff)
parente5680c4de3eb3ea5538d11733a91ccef19badd69 (diff)
downloadlinux-88f268a5bcc3b0683e6fbaf9973702e5329fc1e3.tar.xz
Merge branch 'regulator-5.1' into regulator-next
Diffstat (limited to 'drivers/regulator/lp3971.c')
-rw-r--r--drivers/regulator/lp3971.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c
index 204b5c5270e0..9e45112658ba 100644
--- a/drivers/regulator/lp3971.c
+++ b/drivers/regulator/lp3971.c
@@ -159,7 +159,7 @@ static int lp3971_ldo_set_voltage_sel(struct regulator_dev *dev,
selector << LDO_VOL_CONTR_SHIFT(ldo));
}
-static struct regulator_ops lp3971_ldo_ops = {
+static const struct regulator_ops lp3971_ldo_ops = {
.list_voltage = regulator_list_voltage_table,
.map_voltage = regulator_map_voltage_ascend,
.is_enabled = lp3971_ldo_is_enabled,
@@ -233,7 +233,7 @@ static int lp3971_dcdc_set_voltage_sel(struct regulator_dev *dev,
0 << BUCK_VOL_CHANGE_SHIFT(buck));
}
-static struct regulator_ops lp3971_dcdc_ops = {
+static const struct regulator_ops lp3971_dcdc_ops = {
.list_voltage = regulator_list_voltage_table,
.map_voltage = regulator_map_voltage_ascend,
.is_enabled = lp3971_dcdc_is_enabled,