Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 219ef031 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown
Browse files

regulator: s2mps11: Constify regulator_desc array



Constify the regulator_desc 'regulators' array.

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 31195252
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -343,7 +343,7 @@ static struct regulator_ops s2mps11_buck_ops = {
	.enable_mask	= S2MPS11_ENABLE_MASK			\
	.enable_mask	= S2MPS11_ENABLE_MASK			\
}
}


static struct regulator_desc regulators[] = {
static const struct regulator_desc regulators[] = {
	regulator_desc_ldo2(1),
	regulator_desc_ldo2(1),
	regulator_desc_ldo1(2),
	regulator_desc_ldo1(2),
	regulator_desc_ldo1(3),
	regulator_desc_ldo1(3),