summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-05 07:58:06 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-05 13:41:07 +0400
commit4b65e159b94e37b40dfa1a5df77adb6fce932f6a (patch)
treeb0625e9bac2ad87499f43c5480589c8ee41b6cd7 /drivers/regulator
parent2ac2d7d83025e8eac9a4985113930b52491dd4c5 (diff)
downloadlinux-4b65e159b94e37b40dfa1a5df77adb6fce932f6a.tar.xz
regulator: isl6271a: 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')
-rw-r--r--drivers/regulator/isl6271a-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/isl6271a-regulator.c b/drivers/regulator/isl6271a-regulator.c
index 775f5fd208c3..54c164df4707 100644
--- a/drivers/regulator/isl6271a-regulator.c
+++ b/drivers/regulator/isl6271a-regulator.c
@@ -112,7 +112,7 @@ static struct regulator_ops isl_fixed_ops = {
.list_voltage = isl6271a_list_fixed_voltage,
};
-static struct regulator_desc isl_rd[] = {
+static const struct regulator_desc isl_rd[] = {
{
.name = "Core Buck",
.id = 0,