]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
regulator: tps6105x: Constify regulator_desc
authorAxel Lin <axel.lin@gmail.com>
Fri, 6 Apr 2012 00:30:42 +0000 (08:30 +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/tps6105x-regulator.c

index d9278da18a9e9cede299722093977e2c572ccd3d..3b788977cb7258b5d8b5eb9fb52366fd6b6196d3 100644 (file)
@@ -123,7 +123,7 @@ static struct regulator_ops tps6105x_regulator_ops = {
        .list_voltage   = tps6105x_regulator_list_voltage,
 };
 
-static struct regulator_desc tps6105x_regulator_desc = {
+static const struct regulator_desc tps6105x_regulator_desc = {
        .name           = "tps6105x-boost",
        .ops            = &tps6105x_regulator_ops,
        .type           = REGULATOR_VOLTAGE,