aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 20:26:06 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-06 05:07:11 -0400
commit09de3473c7724d7a1db7596acc2ce411e5e72f63 (patch)
tree128cf2b46813096c666ac3f662bb526285042765
parent0373bcff46c444d71bbff424d1060b550bab28ec (diff)
regulator: max8649: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--drivers/regulator/max8649.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c
index 824c650436ed..aa91ec60fa08 100644
--- a/drivers/regulator/max8649.c
+++ b/drivers/regulator/max8649.c
@@ -207,7 +207,7 @@ static struct regulator_ops max8649_dcdc_ops = {
207 207
208}; 208};
209 209
210static struct regulator_desc dcdc_desc = { 210static const struct regulator_desc dcdc_desc = {
211 .name = "max8649", 211 .name = "max8649",
212 .ops = &max8649_dcdc_ops, 212 .ops = &max8649_dcdc_ops,
213 .type = REGULATOR_VOLTAGE, 213 .type = REGULATOR_VOLTAGE,