summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 05:56:56 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 11:40:57 +0200
commit487f71e6f5038ef738de6291ff572717a507129c (patch)
tree5db9f8c5ebbb919b80412b8bc0571c3d8f9aa158 /drivers
parentregulator: wm8994: Constify regulator_desc (diff)
downloadlinux-487f71e6f5038ef738de6291ff572717a507129c.tar.xz
linux-487f71e6f5038ef738de6291ff572717a507129c.zip
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')
-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 = {
.is_enabled = ad5398_is_enabled,
};
-static struct regulator_desc ad5398_reg = {
+static const struct regulator_desc ad5398_reg = {
.name = "isink",
.id = 0,
.ops = &ad5398_ops,