regulator: lp3972: Constify regulator_desc
authorAxel Lin <axel.lin@gmail.com>
Thu, 5 Apr 2012 04:00:32 +0000 (12:00 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Apr 2012 09:41:08 +0000 (10:41 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/lp3972.c

index 49a15eefe5fe25390bdaf52cd0455675565cb516..2e48621ef8b6ead0de8d16e0d33cea8096a5e691 100644 (file)
@@ -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,