]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
regulator: lp8788-buck: Constify lp8788_buck_desc
authorAxel Lin <axel.lin@ingics.com>
Sat, 26 Jan 2019 03:39:06 +0000 (11:39 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 28 Jan 2019 12:21:21 +0000 (12:21 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/lp8788-buck.c

index ec46290b647ee9f87bc307f3a8b349ef33de4883..30de784d8e30831bea7ed7607d9c643d6ecaefa0 100644 (file)
@@ -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,