summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-06 00:30:42 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 09:06:44 (GMT)
commitd882d73eb72d7e5d57645c8d40195f4a7ad76f6c (patch)
tree82bb814eeb15a4d7a4b0a463d6ef876852e71307 /drivers
parentbd6ff0d6a0c8a5bb3ef2e349b225875bb05221c9 (diff)
downloadlinux-d882d73eb72d7e5d57645c8d40195f4a7ad76f6c.tar.xz
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')
-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 d9278da..3b78897 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,