Commit 23295d79 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b133305c
...@@ -186,7 +186,7 @@ static const struct regulator_ops lp8788_ldo_voltage_fixed_ops = { ...@@ -186,7 +186,7 @@ static const struct regulator_ops lp8788_ldo_voltage_fixed_ops = {
.enable_time = lp8788_ldo_enable_time, .enable_time = lp8788_ldo_enable_time,
}; };
static struct regulator_desc lp8788_dldo_desc[] = { static const struct regulator_desc lp8788_dldo_desc[] = {
{ {
.name = "dldo1", .name = "dldo1",
.id = DLDO1, .id = DLDO1,
...@@ -343,7 +343,7 @@ static struct regulator_desc lp8788_dldo_desc[] = { ...@@ -343,7 +343,7 @@ static struct regulator_desc lp8788_dldo_desc[] = {
}, },
}; };
static struct regulator_desc lp8788_aldo_desc[] = { static const struct regulator_desc lp8788_aldo_desc[] = {
{ {
.name = "aldo1", .name = "aldo1",
.id = ALDO1, .id = ALDO1,
......
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