From b133305c51e977f5c64c9effd1b6533ae04095a0 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sat, 26 Jan 2019 11:39:06 +0800 Subject: [PATCH] regulator: lp8788-buck: Constify lp8788_buck_desc Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- drivers/regulator/lp8788-buck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.30.2