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:
b133305
)
regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc
author
Axel Lin
<axel.lin@ingics.com>
Sat, 26 Jan 2019 03:39:07 +0000
(11:39 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 28 Jan 2019 12:21:34 +0000
(12:21 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lp8788-ldo.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/lp8788-ldo.c
b/drivers/regulator/lp8788-ldo.c
index 2ee22e7ea675671a6348f0c2c2eb413a8e0fa330..a2ef146e6b3a6b1924d4166a5ec36b3145f62b5f 100644
(file)
--- a/
drivers/regulator/lp8788-ldo.c
+++ b/
drivers/regulator/lp8788-ldo.c
@@
-186,7
+186,7
@@
static const struct regulator_ops lp8788_ldo_voltage_fixed_ops = {
.enable_time = lp8788_ldo_enable_time,
};
-static struct regulator_desc lp8788_dldo_desc[] = {
+static
const
struct regulator_desc lp8788_dldo_desc[] = {
{
.name = "dldo1",
.id = DLDO1,
@@
-343,7
+343,7
@@
static struct regulator_desc lp8788_dldo_desc[] = {
},
};
-static struct regulator_desc lp8788_aldo_desc[] = {
+static
const
struct regulator_desc lp8788_aldo_desc[] = {
{
.name = "aldo1",
.id = ALDO1,