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:
487f71e
)
regulator: pcf50633: Constify regulator_desc
author
Axel Lin
<axel.lin@gmail.com>
Thu, 5 Apr 2012 04:02:36 +0000
(12:02 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 5 Apr 2012 09:41:06 +0000
(10:41 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/pcf50633-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/pcf50633-regulator.c
b/drivers/regulator/pcf50633-regulator.c
index 6db46c632f130753e46f60c3f45055a8f53a9519..0f8ffed3dd229cd25bf822eb02e9f52d48c297b4 100644
(file)
--- a/
drivers/regulator/pcf50633-regulator.c
+++ b/
drivers/regulator/pcf50633-regulator.c
@@
-285,7
+285,7
@@
static struct regulator_ops pcf50633_regulator_ops = {
.is_enabled = pcf50633_regulator_is_enabled,
};
-static struct regulator_desc regulators[] = {
+static
const
struct regulator_desc regulators[] = {
[PCF50633_REGULATOR_AUTO] =
PCF50633_REGULATOR("auto", PCF50633_REGULATOR_AUTO, 81),
[PCF50633_REGULATOR_DOWN1] =