summaryrefslogtreecommitdiff
path: root/drivers/regulator/max77857-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/max77857-regulator.c')
-rw-r--r--drivers/regulator/max77857-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max77857-regulator.c b/drivers/regulator/max77857-regulator.c
index 145ad0281857..bc28dc8503a8 100644
--- a/drivers/regulator/max77857-regulator.c
+++ b/drivers/regulator/max77857-regulator.c
@@ -67,7 +67,7 @@ static bool max77857_volatile_reg(struct device *dev, unsigned int reg)
}
}
-static struct regmap_config max77857_regmap_config = {
+static const struct regmap_config max77857_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.cache_type = REGCACHE_MAPLE,