regulator: max8649: 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
0373bcff46
commit
09de3473c7
@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct regulator_desc dcdc_desc = {
|
static const struct regulator_desc dcdc_desc = {
|
||||||
.name = "max8649",
|
.name = "max8649",
|
||||||
.ops = &max8649_dcdc_ops,
|
.ops = &max8649_dcdc_ops,
|
||||||
.type = REGULATOR_VOLTAGE,
|
.type = REGULATOR_VOLTAGE,
|
||||||
|
Loading…
Reference in New Issue
Block a user