projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d882d73
)
regulator: tps65217: Constify regulator_desc
author
Axel Lin
<axel.lin@gmail.com>
Fri, 6 Apr 2012 00:31:51 +0000
(08:31 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 6 Apr 2012 09:07:03 +0000
(10:07 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65217-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps65217-regulator.c
b/drivers/regulator/tps65217-regulator.c
index e39521b427723179f192fecbbba69ee50d2d7e06..80fad2d3479e9bc32d91f92a1f63ce1ef948240e 100644
(file)
--- a/
drivers/regulator/tps65217-regulator.c
+++ b/
drivers/regulator/tps65217-regulator.c
@@
-312,7
+312,7
@@
static struct regulator_ops tps65217_pmic_ldo1_ops = {
.list_voltage = tps65217_pmic_list_voltage,
};
-static struct regulator_desc regulators[] = {
+static
const
struct regulator_desc regulators[] = {
TPS65217_REGULATOR("DCDC1", TPS65217_DCDC_1, tps65217_pmic_ops, 64),
TPS65217_REGULATOR("DCDC2", TPS65217_DCDC_2, tps65217_pmic_ops, 64),
TPS65217_REGULATOR("DCDC3", TPS65217_DCDC_3, tps65217_pmic_ops, 64),