Commit 487f71e6 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: ad5398: Constify regulator_desc

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 25e4d602
...@@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = { ...@@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = {
.is_enabled = ad5398_is_enabled, .is_enabled = ad5398_is_enabled,
}; };
static struct regulator_desc ad5398_reg = { static const struct regulator_desc ad5398_reg = {
.name = "isink", .name = "isink",
.id = 0, .id = 0,
.ops = &ad5398_ops, .ops = &ad5398_ops,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment