diff options
-rw-r--r-- | drivers/regulator/max1586.c | 2 |
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 { | |||
56 | * set V6 to either 0V, 1.8V, 2.5V, 3V depending on (x & 0x3) | 56 | * set V6 to either 0V, 1.8V, 2.5V, 3V depending on (x & 0x3) |
57 | * As regulator framework doesn't accept voltages to be 0V, we use 1uV. | 57 | * As regulator framework doesn't accept voltages to be 0V, we use 1uV. |
58 | */ | 58 | */ |
59 | static int v6_voltages_uv[] = { 1, 1800000, 2500000, 3000000 }; | 59 | static const unsigned int v6_voltages_uv[] = { 1, 1800000, 2500000, 3000000 }; |
60 | 60 | ||
61 | /* | 61 | /* |
62 | * V3 voltage | 62 | * V3 voltage |