From: Axel Lin Date: Fri, 6 Apr 2012 00:30:42 +0000 (+0800) Subject: regulator: tps6105x: Constify regulator_desc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d882d73eb72d7e5d57645c8d40195f4a7ad76f6c;p=linux-beck.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 d9278da18a9e..3b788977cb72 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,