projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bdcf11
)
regulator: pcap: Constify regulator_desc
author
Axel Lin
<axel.lin@gmail.com>
Thu, 5 Apr 2012 04:01:33 +0000
(12:01 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 5 Apr 2012 09:41:08 +0000
(10:41 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/pcap-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/pcap-regulator.c
b/drivers/regulator/pcap-regulator.c
index a5aab1b08bcf6f246255b42600a3a355fc7de5a5..c434e5f5f8a24337d82729c539ffe856a9f3bcf0 100644
(file)
--- a/
drivers/regulator/pcap-regulator.c
+++ b/
drivers/regulator/pcap-regulator.c
@@
-265,7
+265,7
@@
static struct regulator_ops pcap_regulator_ops = {
.owner = THIS_MODULE, \
}
-static struct regulator_desc pcap_regulators[] = {
+static
const
struct regulator_desc pcap_regulators[] = {
VREG(V1), VREG(V2), VREG(V3), VREG(V4), VREG(V5), VREG(V6), VREG(V7),
VREG(V8), VREG(V9), VREG(V10), VREG(VAUX1), VREG(VAUX2), VREG(VAUX3),
VREG(VAUX4), VREG(VSIM), VREG(VSIM2), VREG(VVIB), VREG(SW1), VREG(SW2),