aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp3972.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 00:00:32 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 05:41:08 -0400
commit1bdcf11052bb075a3b2a53b39841601e36f0e86b (patch)
treeef424ffc215f40666774067b5474b5aba505fe57 /drivers/regulator/lp3972.c
parent14add4ff2132a04843dfcb320c9f22c717c58328 (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.c2
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
474static struct regulator_desc regulators[] = { 474static const struct regulator_desc regulators[] = {
475 { 475 {
476 .name = "LDO1", 476 .name = "LDO1",
477 .id = LP3972_LDO1, 477 .id = LP3972_LDO1,