Commit 8cf268e535e827925558034c60ce0e69400feff4
Committed by
Mark Brown
1 parent
33cd870c4b
regulator: uniphier: Constify uniphier_regulator_ops
Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/regulator/uniphier-regulator.c
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | const struct uniphier_regulator_soc_data *data; |
33 | 33 | }; |
34 | 34 | |
35 | -static struct regulator_ops uniphier_regulator_ops = { | |
35 | +static const struct regulator_ops uniphier_regulator_ops = { | |
36 | 36 | .enable = regulator_enable_regmap, |
37 | 37 | .disable = regulator_disable_regmap, |
38 | 38 | .is_enabled = regulator_is_enabled_regmap, |