diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-02-28 05:01:49 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-02 21:08:55 -0500 |
commit | 219ef031de434591bb6c85d22701ce8b23c4b1a4 (patch) | |
tree | b29383e4ceddebac6b1e84a0b0e5495fd5d6a23d | |
parent | 3119525203149fc11ce9f48131afdf9795d7a4ea (diff) |
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>
-rw-r--r-- | drivers/regulator/s2mps11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index 3647d590b962..189038aecbf5 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c | |||
@@ -343,7 +343,7 @@ static struct regulator_ops s2mps11_buck_ops = { | |||
343 | .enable_mask = S2MPS11_ENABLE_MASK \ | 343 | .enable_mask = S2MPS11_ENABLE_MASK \ |
344 | } | 344 | } |
345 | 345 | ||
346 | static struct regulator_desc regulators[] = { | 346 | static const struct regulator_desc regulators[] = { |
347 | regulator_desc_ldo2(1), | 347 | regulator_desc_ldo2(1), |
348 | regulator_desc_ldo1(2), | 348 | regulator_desc_ldo1(2), |
349 | regulator_desc_ldo1(3), | 349 | regulator_desc_ldo1(3), |