projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33cd870
)
regulator: uniphier: Constify uniphier_regulator_ops
author
Axel Lin
<axel.lin@ingics.com>
Wed, 30 Jan 2019 07:11:10 +0000
(15:11 +0800)
committer
Mark Brown
<broonie@kernel.org>
Sat, 2 Feb 2019 16:05:42 +0000
(17:05 +0100)
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>
drivers/regulator/uniphier-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/uniphier-regulator.c
b/drivers/regulator/uniphier-regulator.c
index 6ba0ae405f2beae162f7cd495130802bed305a26..9026d5a3e964811cd1c7108903dc850c81b7e6ed 100644
(file)
--- 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,