aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/pv88090-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/pv88090-regulator.c b/drivers/regulator/pv88090-regulator.c
index 421641175352..ab51e254d13a 100644
--- a/drivers/regulator/pv88090-regulator.c
+++ b/drivers/regulator/pv88090-regulator.c
@@ -184,7 +184,7 @@ static int pv88090_get_current_limit(struct regulator_dev *rdev)
184 return info->current_limits[data]; 184 return info->current_limits[data];
185} 185}
186 186
187static struct regulator_ops pv88090_buck_ops = { 187static const struct regulator_ops pv88090_buck_ops = {
188 .get_mode = pv88090_buck_get_mode, 188 .get_mode = pv88090_buck_get_mode,
189 .set_mode = pv88090_buck_set_mode, 189 .set_mode = pv88090_buck_set_mode,
190 .enable = regulator_enable_regmap, 190 .enable = regulator_enable_regmap,
@@ -197,7 +197,7 @@ static struct regulator_ops pv88090_buck_ops = {
197 .get_current_limit = pv88090_get_current_limit, 197 .get_current_limit = pv88090_get_current_limit,
198}; 198};
199 199
200static struct regulator_ops pv88090_ldo_ops = { 200static const struct regulator_ops pv88090_ldo_ops = {
201 .enable = regulator_enable_regmap, 201 .enable = regulator_enable_regmap,
202 .disable = regulator_disable_regmap, 202 .disable = regulator_disable_regmap,
203 .is_enabled = regulator_is_enabled_regmap, 203 .is_enabled = regulator_is_enabled_regmap,