summaryrefslogtreecommitdiff
path: root/drivers/regulator/tps6105x-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-06 08:30:42 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 10:06:44 +0100
commitd882d73eb72d7e5d57645c8d40195f4a7ad76f6c (patch)
tree82bb814eeb15a4d7a4b0a463d6ef876852e71307 /drivers/regulator/tps6105x-regulator.c
parentbd6ff0d6a0c8a5bb3ef2e349b225875bb05221c9 (diff)
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/tps6105x-regulator.c')
-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,