diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-04-05 20:30:42 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-06 05:06:44 -0400 |
commit | d882d73eb72d7e5d57645c8d40195f4a7ad76f6c (patch) | |
tree | 82bb814eeb15a4d7a4b0a463d6ef876852e71307 /drivers/regulator/tps6105x-regulator.c | |
parent | bd6ff0d6a0c8a5bb3ef2e349b225875bb05221c9 (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.c | 2 |
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 = { | |||
123 | .list_voltage = tps6105x_regulator_list_voltage, | 123 | .list_voltage = tps6105x_regulator_list_voltage, |
124 | }; | 124 | }; |
125 | 125 | ||
126 | static struct regulator_desc tps6105x_regulator_desc = { | 126 | static const struct regulator_desc tps6105x_regulator_desc = { |
127 | .name = "tps6105x-boost", | 127 | .name = "tps6105x-boost", |
128 | .ops = &tps6105x_regulator_ops, | 128 | .ops = &tps6105x_regulator_ops, |
129 | .type = REGULATOR_VOLTAGE, | 129 | .type = REGULATOR_VOLTAGE, |