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:
bd6ff0d
)
regulator: tps6105x: Constify regulator_desc
author
Axel Lin
<axel.lin@gmail.com>
Fri, 6 Apr 2012 00:30:42 +0000
(08:30 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 6 Apr 2012 09:06:44 +0000
(10:06 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps6105x-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps6105x-regulator.c
b/drivers/regulator/tps6105x-regulator.c
index d9278da18a9e9cede299722093977e2c572ccd3d..3b788977cb7258b5d8b5eb9fb52366fd6b6196d3 100644
(file)
--- a/
drivers/regulator/tps6105x-regulator.c
+++ b/
drivers/regulator/tps6105x-regulator.c
@@
-123,7
+123,7
@@
static struct regulator_ops tps6105x_regulator_ops = {
.list_voltage = tps6105x_regulator_list_voltage,
};
-static struct regulator_desc tps6105x_regulator_desc = {
+static
const
struct regulator_desc tps6105x_regulator_desc = {
.name = "tps6105x-boost",
.ops = &tps6105x_regulator_ops,
.type = REGULATOR_VOLTAGE,