regulator: isl6271a: Constify regulator_desc
authorAxel Lin <axel.lin@gmail.com>
Thu, 5 Apr 2012 03:58:06 +0000 (11:58 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Apr 2012 09:41:07 +0000 (10:41 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/isl6271a-regulator.c

index 775f5fd..54c164d 100644 (file)
@@ -112,7 +112,7 @@ static struct regulator_ops isl_fixed_ops = {
        .list_voltage   = isl6271a_list_fixed_voltage,
 };
 
-static struct regulator_desc isl_rd[] = {
+static const struct regulator_desc isl_rd[] = {
        {
                .name           = "Core Buck",
                .id             = 0,