Commit 8cf268e5 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: uniphier: Constify uniphier_regulator_ops

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 33cd870c
...@@ -32,7 +32,7 @@ struct uniphier_regulator_priv { ...@@ -32,7 +32,7 @@ struct uniphier_regulator_priv {
const struct uniphier_regulator_soc_data *data; 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, .enable = regulator_enable_regmap,
.disable = regulator_disable_regmap, .disable = regulator_disable_regmap,
.is_enabled = regulator_is_enabled_regmap, .is_enabled = regulator_is_enabled_regmap,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment