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

index 282d2ee0604eb89eb16ea2b56e97bff02f50c76c..fad0bee10c54340a8e0fd65cc162377ca8fb3b52 100644 (file)
@@ -161,7 +161,7 @@ static struct regulator_ops max1586_v6_ops = {
        .list_voltage = max1586_v6_list,
 };
 
-static struct regulator_desc max1586_reg[] = {
+static const struct regulator_desc max1586_reg[] = {
        {
                .name = "Output_V3",
                .id = MAX1586_V3,