diff options
author | Axel Lin | 2019-01-26 11:39:06 +0800 |
---|---|---|
committer | Mark Brown | 2019-01-28 12:21:21 +0000 |
commit | b133305c51e977f5c64c9effd1b6533ae04095a0 (patch) | |
tree | 3e57eca3d6a06184cc67b6358fd4d415aa4d314b /drivers/regulator/lp8788-buck.c | |
parent | b7fbc5928addf36a9463df04de7beff9380486a5 (diff) |
regulator: lp8788-buck: Constify lp8788_buck_desc
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/lp8788-buck.c')
-rw-r--r-- | drivers/regulator/lp8788-buck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/lp8788-buck.c b/drivers/regulator/lp8788-buck.c index ec46290b647e..30de784d8e30 100644 --- a/drivers/regulator/lp8788-buck.c +++ b/drivers/regulator/lp8788-buck.c @@ -370,7 +370,7 @@ static const struct regulator_ops lp8788_buck34_ops = { .get_mode = lp8788_buck_get_mode, }; -static struct regulator_desc lp8788_buck_desc[] = { +static const struct regulator_desc lp8788_buck_desc[] = { { .name = "buck1", .id = BUCK1, |