projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb9660
)
regulator: max1586: Constify v6_voltages_uv table
author
Axel Lin
<axel.lin@ingics.com>
Sat, 30 Mar 2013 05:57:29 +0000
(13:57 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sat, 30 Mar 2013 13:53:21 +0000
(13:53 +0000)
Make v6_voltages_uv to be const unsigned int.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max1586.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max1586.c
b/drivers/regulator/max1586.c
index 8c5a54f541b50964567ba739a128b0ae59ec286a..dac049003a2a19f7e29a4963e93f4bc02cb8fe25 100644
(file)
--- 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