aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp3971.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-04 23:59:20 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 05:41:07 -0400
commit14add4ff2132a04843dfcb320c9f22c717c58328 (patch)
treeb2c96c7980a2536e0121d0459a3a3dede11c614c /drivers/regulator/lp3971.c
parent4b65e159b94e37b40dfa1a5df77adb6fce932f6a (diff)
regulator: lp3971: 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/lp3971.c')
-rw-r--r--drivers/regulator/lp3971.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp3971.c b/drivers/regulator/lp3971.c
index 0cfabd318a59..3e0d001b599e 100644
--- a/drivers/regulator/lp3971.c
+++ b/drivers/regulator/lp3971.c
@@ -309,7 +309,7 @@ static struct regulator_ops lp3971_dcdc_ops = {
309 .set_voltage = lp3971_dcdc_set_voltage, 309 .set_voltage = lp3971_dcdc_set_voltage,
310}; 310};
311 311
312static struct regulator_desc regulators[] = { 312static const struct regulator_desc regulators[] = {
313 { 313 {
314 .name = "LDO1", 314 .name = "LDO1",
315 .id = LP3971_LDO1, 315 .id = LP3971_LDO1,