Skip to content

Commit 0373bcf

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/max1586.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ static struct regulator_ops max1586_v6_ops = {
161161
.list_voltage = max1586_v6_list,
162162
};
163163

164-
static struct regulator_desc max1586_reg[] = {
164+
static const struct regulator_desc max1586_reg[] = {
165165
{
166166
.name = "Output_V3",
167167
.id = MAX1586_V3,

0 commit comments

Comments
 (0)