aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/hi655x-regulator.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-03 12:01:20 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-04-03 12:01:20 -0700
commit03b22057e8ed2d1df416c9ae8e6e247e0b87ecc8 (patch)
treecd89bdd4053e46ff3cbd67adeffa24310c04e725 /drivers/regulator/hi655x-regulator.c
parentInput: silead - list all supported compatible strings in binding document (diff)
parentLinux 4.11-rc5 (diff)
downloadlinux-dev-03b22057e8ed2d1df416c9ae8e6e247e0b87ecc8.tar.xz
linux-dev-03b22057e8ed2d1df416c9ae8e6e247e0b87ecc8.zip
Merge tag 'v4.11-rc5' into next
Sync up with mainline to bring in changes to input subsystem merged through other trees.
Diffstat (limited to 'drivers/regulator/hi655x-regulator.c')
-rw-r--r--drivers/regulator/hi655x-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/hi655x-regulator.c b/drivers/regulator/hi655x-regulator.c
index aca18466f522..065c100e9a03 100644
--- a/drivers/regulator/hi655x-regulator.c
+++ b/drivers/regulator/hi655x-regulator.c
@@ -96,7 +96,7 @@ static int hi655x_disable(struct regulator_dev *rdev)
return ret;
}
-static struct regulator_ops hi655x_regulator_ops = {
+static const struct regulator_ops hi655x_regulator_ops = {
.enable = regulator_enable_regmap,
.disable = hi655x_disable,
.is_enabled = hi655x_is_enabled,
@@ -105,7 +105,7 @@ static struct regulator_ops hi655x_regulator_ops = {
.set_voltage_sel = regulator_set_voltage_sel_regmap,
};
-static struct regulator_ops hi655x_ldo_linear_ops = {
+static const struct regulator_ops hi655x_ldo_linear_ops = {
.enable = regulator_enable_regmap,
.disable = hi655x_disable,
.is_enabled = hi655x_is_enabled,