提交 14add4ff 编写于 作者: A Axel Lin 提交者: Mark Brown

regulator: lp3971: Constify regulator_desc

Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 4b65e159
......@@ -309,7 +309,7 @@ static struct regulator_ops lp3971_dcdc_ops = {
.set_voltage = lp3971_dcdc_set_voltage,
};
static struct regulator_desc regulators[] = {
static const struct regulator_desc regulators[] = {
{
.name = "LDO1",
.id = LP3971_LDO1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册