aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@sirena.org.uk>2013-04-28 02:13:41 +0100
committerMark Brown <broonie@sirena.org.uk>2013-04-28 02:13:41 +0100
commit388128ffd69e09306b8f17c626fd565120c416de (patch)
treebca57f792bf32dd024cdcfe001c6a2111dd3a2ed /drivers/regulator
parentMerge remote-tracking branch 'regulator/topic/lp8788' into v3.9-rc8 (diff)
parentregulator: max1586: Constify v6_voltages_uv table (diff)
downloadlinux-dev-388128ffd69e09306b8f17c626fd565120c416de.tar.xz
linux-dev-388128ffd69e09306b8f17c626fd565120c416de.zip
Merge remote-tracking branch 'regulator/topic/max1586' into v3.9-rc8
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/max1586.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max1586.c b/drivers/regulator/max1586.c
index 6b2217b404b2..54af61015814 100644
--- a/drivers/regulator/max1586.c
+++ b/drivers/regulator/max1586.c
@@ -56,7 +56,7 @@ struct max1586_data {
* set V6 to either 0V, 1.8V, 2.5V, 3V depending on (x & 0x3)
* As regulator framework doesn't accept voltages to be 0V, we use 1uV.
*/
-static int v6_voltages_uv[] = { 1, 1800000, 2500000, 3000000 };
+static const unsigned int v6_voltages_uv[] = { 1, 1800000, 2500000, 3000000 };
/*
* V3 voltage