Messages in this thread Patch in this message | | | Subject | [PATCH 5/6] regulator: tps6105x: Constify regulator_desc | From | Axel Lin <> | Date | Fri, 06 Apr 2012 08:30:42 +0800 |
| |
Signed-off-by: Axel Lin <axel.lin@gmail.com> --- drivers/regulator/tps6105x-regulator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/regulator/tps6105x-regulator.c b/drivers/regulator/tps6105x-regulator.c index d9278da..3b78897 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, -- 1.7.5.4
| |