projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b65e15
)
regulator: lp3971: Constify regulator_desc
author
Axel Lin
<axel.lin@gmail.com>
Thu, 5 Apr 2012 03:59:20 +0000
(11:59 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 5 Apr 2012 09:41:07 +0000
(10:41 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/lp3971.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/lp3971.c
b/drivers/regulator/lp3971.c
index
0cfabd3
..
3e0d001
100644
(file)
--- a/
drivers/regulator/lp3971.c
+++ b/
drivers/regulator/lp3971.c
@@
-309,7
+309,7
@@
static struct regulator_ops lp3971_dcdc_ops = {
.set_voltage = lp3971_dcdc_set_voltage,
};
-static struct regulator_desc regulators[] = {
+static
const
struct regulator_desc regulators[] = {
{
.name = "LDO1",
.id = LP3971_LDO1,