summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ltc4222.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ltc4222.c')
-rw-r--r--drivers/hwmon/ltc4222.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ltc4222.c b/drivers/hwmon/ltc4222.c
index 07c25653659f..88f747292816 100644
--- a/drivers/hwmon/ltc4222.c
+++ b/drivers/hwmon/ltc4222.c
@@ -186,7 +186,7 @@ static struct attribute *ltc4222_attrs[] = {
};
ATTRIBUTE_GROUPS(ltc4222);
-static struct regmap_config ltc4222_regmap_config = {
+static const struct regmap_config ltc4222_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = LTC4222_ADC_CONTROL,