aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pcf50633-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 00:02:36 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 05:41:06 -0400
commit2ac2d7d83025e8eac9a4985113930b52491dd4c5 (patch)
treeba6bbef85ff9376f689de66b68ade2793f13bd29 /drivers/regulator/pcf50633-regulator.c
parent487f71e6f5038ef738de6291ff572717a507129c (diff)
regulator: pcf50633: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/pcf50633-regulator.c')
-rw-r--r--drivers/regulator/pcf50633-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c
index 6db46c632f13..0f8ffed3dd22 100644
--- a/drivers/regulator/pcf50633-regulator.c
+++ b/drivers/regulator/pcf50633-regulator.c
@@ -285,7 +285,7 @@ static struct regulator_ops pcf50633_regulator_ops = {
285 .is_enabled = pcf50633_regulator_is_enabled, 285 .is_enabled = pcf50633_regulator_is_enabled,
286}; 286};
287 287
288static struct regulator_desc regulators[] = { 288static const struct regulator_desc regulators[] = {
289 [PCF50633_REGULATOR_AUTO] = 289 [PCF50633_REGULATOR_AUTO] =
290 PCF50633_REGULATOR("auto", PCF50633_REGULATOR_AUTO, 81), 290 PCF50633_REGULATOR("auto", PCF50633_REGULATOR_AUTO, 81),
291 [PCF50633_REGULATOR_DOWN1] = 291 [PCF50633_REGULATOR_DOWN1] =