regulator: ad5398: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Родитель
25e4d602f7
Коммит
487f71e6f5
|
@ -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,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче