Skip to content

Commit d882d73

Browse files
AxelLinbroonie
authored andcommitted
regulator: tps6105x: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent bd6ff0d commit d882d73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/tps6105x-regulator.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static struct regulator_ops tps6105x_regulator_ops = {
123123
.list_voltage = tps6105x_regulator_list_voltage,
124124
};
125125

126-
static struct regulator_desc tps6105x_regulator_desc = {
126+
static const struct regulator_desc tps6105x_regulator_desc = {
127127
.name = "tps6105x-boost",
128128
.ops = &tps6105x_regulator_ops,
129129
.type = REGULATOR_VOLTAGE,

0 commit comments

Comments
 (0)