mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-02 07:11:12 +00:00
regulator: pcf50633: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
487f71e6f5
commit
2ac2d7d830
@ -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] =
|
||||||
|
Loading…
Reference in New Issue
Block a user