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

index 824c650436edec5c8d3e39fb6d0d3ffcd0233b28..aa91ec60fa08410e005f207713f0036f39352d8e 100644 (file)
@@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = {
 
 };
 
-static struct regulator_desc dcdc_desc = {
+static const struct regulator_desc dcdc_desc = {
        .name           = "max8649",
        .ops            = &max8649_dcdc_ops,
        .type           = REGULATOR_VOLTAGE,