Skip to content

Commit bd6ff0d

Browse files
AxelLinbroonie
authored andcommitted
regulator: max8952: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
1 parent 621adb3 commit bd6ff0d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/max8952.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static struct regulator_ops max8952_ops = {
173173
.set_suspend_disable = max8952_disable,
174174
};
175175

176-
static struct regulator_desc regulator = {
176+
static const struct regulator_desc regulator = {
177177
.name = "MAX8952_VOUT",
178178
.id = 0,
179179
.n_voltages = MAX8952_NUM_DVS_MODE,

0 commit comments

Comments
 (0)