Commit 14add4ff authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: lp3971: Constify regulator_desc

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 4b65e159
...@@ -309,7 +309,7 @@ static struct regulator_ops lp3971_dcdc_ops = { ...@@ -309,7 +309,7 @@ static struct regulator_ops lp3971_dcdc_ops = {
.set_voltage = lp3971_dcdc_set_voltage, .set_voltage = lp3971_dcdc_set_voltage,
}; };
static struct regulator_desc regulators[] = { static const struct regulator_desc regulators[] = {
{ {
.name = "LDO1", .name = "LDO1",
.id = LP3971_LDO1, .id = LP3971_LDO1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment