summaryrefslogtreecommitdiff
path: root/drivers/regulator/lp3971.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 11:59:20 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 10:41:07 +0100
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 = {
.set_voltage = lp3971_dcdc_set_voltage,
};
-static struct regulator_desc regulators[] = {
+static const struct regulator_desc regulators[] = {
{
.name = "LDO1",
.id = LP3971_LDO1,