summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/lp3972.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 12:00:32 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 10:41:08 +0100
commit1bdcf11052bb075a3b2a53b39841601e36f0e86b (patch)
treeef424ffc215f40666774067b5474b5aba505fe57 /drivers/regulator/lp3972.c
parent14add4ff2132a04843dfcb320c9f22c717c58328 (diff)
downloadlinux-1bdcf11052bb075a3b2a53b39841601e36f0e86b.tar.bz2
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 = {
.set_voltage = lp3972_dcdc_set_voltage,
};
-static struct regulator_desc regulators[] = {
+static const struct regulator_desc regulators[] = {
{
.name = "LDO1",
.id = LP3972_LDO1,