diff options
Diffstat (limited to 'drivers/regulator/tps65023-regulator.c')
| -rw-r--r-- | drivers/regulator/tps65023-regulator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/tps65023-regulator.c b/drivers/regulator/tps65023-regulator.c index 7380af8bd50d..b941e564b3f3 100644 --- a/drivers/regulator/tps65023-regulator.c +++ b/drivers/regulator/tps65023-regulator.c | |||
| @@ -173,7 +173,7 @@ static int tps65023_dcdc_set_voltage_sel(struct regulator_dev *dev, | |||
| 173 | } | 173 | } |
| 174 | 174 | ||
| 175 | /* Operations permitted on VDCDCx */ | 175 | /* Operations permitted on VDCDCx */ |
| 176 | static struct regulator_ops tps65023_dcdc_ops = { | 176 | static const struct regulator_ops tps65023_dcdc_ops = { |
| 177 | .is_enabled = regulator_is_enabled_regmap, | 177 | .is_enabled = regulator_is_enabled_regmap, |
| 178 | .enable = regulator_enable_regmap, | 178 | .enable = regulator_enable_regmap, |
| 179 | .disable = regulator_disable_regmap, | 179 | .disable = regulator_disable_regmap, |
| @@ -184,7 +184,7 @@ static struct regulator_ops tps65023_dcdc_ops = { | |||
| 184 | }; | 184 | }; |
| 185 | 185 | ||
| 186 | /* Operations permitted on LDOx */ | 186 | /* Operations permitted on LDOx */ |
| 187 | static struct regulator_ops tps65023_ldo_ops = { | 187 | static const struct regulator_ops tps65023_ldo_ops = { |
| 188 | .is_enabled = regulator_is_enabled_regmap, | 188 | .is_enabled = regulator_is_enabled_regmap, |
| 189 | .enable = regulator_enable_regmap, | 189 | .enable = regulator_enable_regmap, |
| 190 | .disable = regulator_disable_regmap, | 190 | .disable = regulator_disable_regmap, |
| @@ -194,7 +194,7 @@ static struct regulator_ops tps65023_ldo_ops = { | |||
| 194 | .map_voltage = regulator_map_voltage_ascend, | 194 | .map_voltage = regulator_map_voltage_ascend, |
| 195 | }; | 195 | }; |
| 196 | 196 | ||
| 197 | static struct regmap_config tps65023_regmap_config = { | 197 | static const struct regmap_config tps65023_regmap_config = { |
| 198 | .reg_bits = 8, | 198 | .reg_bits = 8, |
| 199 | .val_bits = 8, | 199 | .val_bits = 8, |
| 200 | }; | 200 | }; |
