From: Axel Lin Date: Sat, 26 Jan 2019 03:39:04 +0000 (+0800) Subject: regulator: lp8755: Constify lp8755_regulators X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=367e90d13e9a49c3a56de0b397abb87ec550b199;p=openwrt%2Fstaging%2Fblogic.git regulator: lp8755: Constify lp8755_regulators Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/lp8755.c b/drivers/regulator/lp8755.c index 6d229ad4ef3e..14fd38807134 100644 --- a/drivers/regulator/lp8755.c +++ b/drivers/regulator/lp8755.c @@ -315,7 +315,7 @@ out_i2c_error: .vsel_mask = LP8755_BUCK_VOUT_M,\ } -static struct regulator_desc lp8755_regulators[] = { +static const struct regulator_desc lp8755_regulators[] = { lp8755_buck_desc(0), lp8755_buck_desc(1), lp8755_buck_desc(2),