Skip to content

Commit 78637a3

Browse files
AxelLinbroonie
authored andcommitted
regulator: tps65217: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: AnilKumar Ch <anilkumar@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent d882d73 commit 78637a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/tps65217-regulator.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static struct regulator_ops tps65217_pmic_ldo1_ops = {
312312
.list_voltage = tps65217_pmic_list_voltage,
313313
};
314314

315-
static struct regulator_desc regulators[] = {
315+
static const struct regulator_desc regulators[] = {
316316
TPS65217_REGULATOR("DCDC1", TPS65217_DCDC_1, tps65217_pmic_ops, 64),
317317
TPS65217_REGULATOR("DCDC2", TPS65217_DCDC_2, tps65217_pmic_ops, 64),
318318
TPS65217_REGULATOR("DCDC3", TPS65217_DCDC_3, tps65217_pmic_ops, 64),

0 commit comments

Comments
 (0)