aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2019-01-30 15:11:10 +0800
committerMark Brown <[email protected]>2019-02-02 17:05:42 +0100
commit8cf268e535e827925558034c60ce0e69400feff4 (patch)
tree33143b6dec2ca0b60138da001a61784ed87a590f
parent33cd870c4bf148163e8b7c6e3bac2a44658a04e4 (diff)
regulator: uniphier: Constify uniphier_regulator_ops
Signed-off-by: Axel Lin <[email protected]> Reviewed-by: Kunihiko Hayashi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--drivers/regulator/uniphier-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/uniphier-regulator.c b/drivers/regulator/uniphier-regulator.c
index 6ba0ae405f2b..9026d5a3e964 100644
--- a/drivers/regulator/uniphier-regulator.c
+++ b/drivers/regulator/uniphier-regulator.c
@@ -32,7 +32,7 @@ struct uniphier_regulator_priv {
const struct uniphier_regulator_soc_data *data;
};
-static struct regulator_ops uniphier_regulator_ops = {
+static const struct regulator_ops uniphier_regulator_ops = {
.enable = regulator_enable_regmap,
.disable = regulator_disable_regmap,
.is_enabled = regulator_is_enabled_regmap,