diff options
author | Mark Brown | 2019-03-04 16:32:43 +0100 |
---|---|---|
committer | Mark Brown | 2019-03-04 16:32:43 +0100 |
commit | 88f268a5bcc3b0683e6fbaf9973702e5329fc1e3 (patch) | |
tree | a64bf49e575ece017359ba5ac89fbc52efd81f2a /drivers/regulator/lp3972.c | |
parent | Merge branch 'regulator-5.0' into regulator-linus (diff) | |
parent | regulator: mc13xxx: Constify regulator_ops variables (diff) | |
download | kernel-qcow2-linux-88f268a5bcc3b0683e6fbaf9973702e5329fc1e3.tar.gz kernel-qcow2-linux-88f268a5bcc3b0683e6fbaf9973702e5329fc1e3.tar.xz kernel-qcow2-linux-88f268a5bcc3b0683e6fbaf9973702e5329fc1e3.zip |
Merge branch 'regulator-5.1' into regulator-next
Diffstat (limited to 'drivers/regulator/lp3972.c')
-rw-r--r-- | drivers/regulator/lp3972.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/lp3972.c b/drivers/regulator/lp3972.c index ff0c275f902e..fb098198b688 100644 --- a/drivers/regulator/lp3972.c +++ b/drivers/regulator/lp3972.c @@ -305,7 +305,7 @@ static int lp3972_ldo_set_voltage_sel(struct regulator_dev *dev, return ret; } -static struct regulator_ops lp3972_ldo_ops = { +static const struct regulator_ops lp3972_ldo_ops = { .list_voltage = regulator_list_voltage_table, .map_voltage = regulator_map_voltage_ascend, .is_enabled = lp3972_ldo_is_enabled, @@ -386,7 +386,7 @@ static int lp3972_dcdc_set_voltage_sel(struct regulator_dev *dev, LP3972_VOL_CHANGE_FLAG_MASK, 0); } -static struct regulator_ops lp3972_dcdc_ops = { +static const struct regulator_ops lp3972_dcdc_ops = { .list_voltage = regulator_list_voltage_table, .map_voltage = regulator_map_voltage_ascend, .is_enabled = lp3972_dcdc_is_enabled, |