Skip to content

Commit 09de347

Browse files
AxelLinbroonie
authored andcommitted
regulator: max8649: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 0373bcf commit 09de347

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/max8649.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = {
207207

208208
};
209209

210-
static struct regulator_desc dcdc_desc = {
210+
static const struct regulator_desc dcdc_desc = {
211211
.name = "max8649",
212212
.ops = &max8649_dcdc_ops,
213213
.type = REGULATOR_VOLTAGE,

0 commit comments

Comments
 (0)