]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
regulator: tps65217: Constify regulator_desc
authorAxel Lin <axel.lin@gmail.com>
Fri, 6 Apr 2012 00:31:51 +0000 (08:31 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Apr 2012 09:07:03 +0000 (10:07 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65217-regulator.c

index e39521b427723179f192fecbbba69ee50d2d7e06..80fad2d3479e9bc32d91f92a1f63ce1ef948240e 100644 (file)
@@ -312,7 +312,7 @@ static struct regulator_ops tps65217_pmic_ldo1_ops = {
        .list_voltage           = tps65217_pmic_list_voltage,
 };
 
-static struct regulator_desc regulators[] = {
+static const struct regulator_desc regulators[] = {
        TPS65217_REGULATOR("DCDC1", TPS65217_DCDC_1, tps65217_pmic_ops, 64),
        TPS65217_REGULATOR("DCDC2", TPS65217_DCDC_2, tps65217_pmic_ops, 64),
        TPS65217_REGULATOR("DCDC3", TPS65217_DCDC_3, tps65217_pmic_ops, 64),