]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
regulator: lp8755: Constify lp8755_regulators
authorAxel Lin <axel.lin@ingics.com>
Sat, 26 Jan 2019 03:39:04 +0000 (11:39 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 28 Jan 2019 12:20:54 +0000 (12:20 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lp8755.c

index 6d229ad4ef3e64f2ff57b5e6a17f6e631a05d47d..14fd3880713490df59d722565aee736072683524 100644 (file)
@@ -315,7 +315,7 @@ static int lp8755_init_data(struct lp8755_chip *pchip)
        .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),