提交 2ac2d7d8 编写于 作者: A Axel Lin 提交者: Mark Brown

regulator: pcf50633: Constify regulator_desc

Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 487f71e6
...@@ -285,7 +285,7 @@ static struct regulator_ops pcf50633_regulator_ops = { ...@@ -285,7 +285,7 @@ static struct regulator_ops pcf50633_regulator_ops = {
.is_enabled = pcf50633_regulator_is_enabled, .is_enabled = pcf50633_regulator_is_enabled,
}; };
static struct regulator_desc regulators[] = { static const struct regulator_desc regulators[] = {
[PCF50633_REGULATOR_AUTO] = [PCF50633_REGULATOR_AUTO] =
PCF50633_REGULATOR("auto", PCF50633_REGULATOR_AUTO, 81), PCF50633_REGULATOR("auto", PCF50633_REGULATOR_AUTO, 81),
[PCF50633_REGULATOR_DOWN1] = [PCF50633_REGULATOR_DOWN1] =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册