summaryrefslogtreecommitdiff
path: root/drivers/regulator/ad5398.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 07:56:56 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 13:40:57 +0400
commit487f71e6f5038ef738de6291ff572717a507129c (patch)
tree5db9f8c5ebbb919b80412b8bc0571c3d8f9aa158 /drivers/regulator/ad5398.c
parent25e4d602f74cb849aa8a4e4b4d0486dc22da872b (diff)
downloadlinux-487f71e6f5038ef738de6291ff572717a507129c.tar.xz
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 = {
.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,