Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: s2mps11: Constify regulator_desc array

Constify the regulator_desc 'regulators' array.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
219ef031 31195252

+1 -1
+1 -1
drivers/regulator/s2mps11.c
··· 343 343 .enable_mask = S2MPS11_ENABLE_MASK \ 344 344 } 345 345 346 - static struct regulator_desc regulators[] = { 346 + static const struct regulator_desc regulators[] = { 347 347 regulator_desc_ldo2(1), 348 348 regulator_desc_ldo1(2), 349 349 regulator_desc_ldo1(3),