summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-06 02:30:42 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 11:06:44 +0200
commitd882d73eb72d7e5d57645c8d40195f4a7ad76f6c (patch)
tree82bb814eeb15a4d7a4b0a463d6ef876852e71307 /drivers/regulator
parentregulator: max8952: Constify regulator_desc (diff)
downloadlinux-d882d73eb72d7e5d57645c8d40195f4a7ad76f6c.tar.xz
linux-d882d73eb72d7e5d57645c8d40195f4a7ad76f6c.zip
regulator: tps6105x: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/tps6105x-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps6105x-regulator.c b/drivers/regulator/tps6105x-regulator.c
index d9278da18a9e..3b788977cb72 100644
--- a/drivers/regulator/tps6105x-regulator.c
+++ b/drivers/regulator/tps6105x-regulator.c
@@ -123,7 +123,7 @@ static struct regulator_ops tps6105x_regulator_ops = {
.list_voltage = tps6105x_regulator_list_voltage,
};
-static struct regulator_desc tps6105x_regulator_desc = {
+static const struct regulator_desc tps6105x_regulator_desc = {
.name = "tps6105x-boost",
.ops = &tps6105x_regulator_ops,
.type = REGULATOR_VOLTAGE,