regulator: max8660: Constify regulator_desc
authorAxel Lin <axel.lin@gmail.com>
Fri, 6 Apr 2012 00:26:59 +0000 (08:26 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Apr 2012 09:06:44 +0000 (10:06 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8660.c

index 4c5b05311f47e02b646f5a87d239bd7b9839c6f6..880bd56a2a9251cde061e31bca1f5c05a6b76e76 100644 (file)
@@ -313,7 +313,7 @@ static struct regulator_ops max8660_ldo67_ops = {
        .set_voltage = max8660_ldo67_set,
 };
 
-static struct regulator_desc max8660_reg[] = {
+static const struct regulator_desc max8660_reg[] = {
        {
                .name = "V3(DCDC)",
                .id = MAX8660_V3,
This page took 0.028971 seconds and 5 git commands to generate.