From: Axel Lin Date: Sat, 26 Jan 2019 03:39:06 +0000 (+0800) Subject: regulator: lp8788-buck: Constify lp8788_buck_desc X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b133305c51e977f5c64c9effd1b6533ae04095a0;p=openwrt%2Fstaging%2Fblogic.git regulator: lp8788-buck: Constify lp8788_buck_desc Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- 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,