aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ad5398.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-04 23:56:56 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 05:40:57 -0400
commit487f71e6f5038ef738de6291ff572717a507129c (patch)
tree5db9f8c5ebbb919b80412b8bc0571c3d8f9aa158 /drivers/regulator/ad5398.c
parent25e4d602f74cb849aa8a4e4b4d0486dc22da872b (diff)
regulator: ad5398: Constify regulator_desc
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ad5398.c')
-rw-r--r--drivers/regulator/ad5398.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c
index 26d23adfc66f..1bd3e72b35cb 100644
--- a/drivers/regulator/ad5398.c
+++ b/drivers/regulator/ad5398.c
@@ -184,7 +184,7 @@ static struct regulator_ops ad5398_ops = {
184 .is_enabled = ad5398_is_enabled, 184 .is_enabled = ad5398_is_enabled,
185}; 185};
186 186
187static struct regulator_desc ad5398_reg = { 187static const struct regulator_desc ad5398_reg = {
188 .name = "isink", 188 .name = "isink",
189 .id = 0, 189 .id = 0,
190 .ops = &ad5398_ops, 190 .ops = &ad5398_ops,