From: Axel Lin Date: Fri, 6 Apr 2012 00:30:42 +0000 (+0800) Subject: regulator: tps6105x: Constify regulator_desc X-Git-Tag: v3.5-rc1~177^2~58^3~52^2~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=d882d73eb72d7e5d57645c8d40195f4a7ad76f6c;p=~emulex%2Finfiniband.git regulator: tps6105x: Constify regulator_desc Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/tps6105x-regulator.c b/drivers/regulator/tps6105x-regulator.c index d9278da18a9..3b788977cb7 100644 --- a/drivers/regulator/tps6105x-regulator.c +++ b/drivers/regulator/tps6105x-regulator.c @@ -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,