]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
regulator: uniphier: Constify uniphier_regulator_ops
authorAxel Lin <axel.lin@ingics.com>
Wed, 30 Jan 2019 07:11:10 +0000 (15:11 +0800)
committerMark Brown <broonie@kernel.org>
Sat, 2 Feb 2019 16:05:42 +0000 (17:05 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/uniphier-regulator.c

index 6ba0ae405f2beae162f7cd495130802bed305a26..9026d5a3e964811cd1c7108903dc850c81b7e6ed 100644 (file)
@@ -32,7 +32,7 @@ struct uniphier_regulator_priv {
        const struct uniphier_regulator_soc_data *data;
 };
 
-static struct regulator_ops uniphier_regulator_ops = {
+static const struct regulator_ops uniphier_regulator_ops = {
        .enable     = regulator_enable_regmap,
        .disable    = regulator_disable_regmap,
        .is_enabled = regulator_is_enabled_regmap,