diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-04-05 00:00:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-05 05:41:08 -0400 |
commit | 1bdcf11052bb075a3b2a53b39841601e36f0e86b (patch) | |
tree | ef424ffc215f40666774067b5474b5aba505fe57 /drivers/regulator/lp3972.c | |
parent | 14add4ff2132a04843dfcb320c9f22c717c58328 (diff) |
regulator: lp3972: 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/lp3972.c')
-rw-r--r-- | drivers/regulator/lp3972.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp3972.c b/drivers/regulator/lp3972.c index 49a15eefe5fe..2e48621ef8b6 100644 --- a/drivers/regulator/lp3972.c +++ b/drivers/regulator/lp3972.c | |||
@@ -471,7 +471,7 @@ static struct regulator_ops lp3972_dcdc_ops = { | |||
471 | .set_voltage = lp3972_dcdc_set_voltage, | 471 | .set_voltage = lp3972_dcdc_set_voltage, |
472 | }; | 472 | }; |
473 | 473 | ||
474 | static struct regulator_desc regulators[] = { | 474 | static const struct regulator_desc regulators[] = { |
475 | { | 475 | { |
476 | .name = "LDO1", | 476 | .name = "LDO1", |
477 | .id = LP3972_LDO1, | 477 | .id = LP3972_LDO1, |