summaryrefslogtreecommitdiff
path: root/drivers/regulator/lp8788-buck.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-01-26 11:39:06 +0800
committerMark Brown <broonie@kernel.org>2019-01-28 12:21:21 +0000
commitb133305c51e977f5c64c9effd1b6533ae04095a0 (patch)
tree3e57eca3d6a06184cc67b6358fd4d415aa4d314b /drivers/regulator/lp8788-buck.c
parentb7fbc5928addf36a9463df04de7beff9380486a5 (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.c2
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,