summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ltc2945.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ltc2945.c')
-rw-r--r--drivers/hwmon/ltc2945.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ltc2945.c b/drivers/hwmon/ltc2945.c
index 3701b329b6ae..1b92e4f6e234 100644
--- a/drivers/hwmon/ltc2945.c
+++ b/drivers/hwmon/ltc2945.c
@@ -469,7 +469,7 @@ static struct attribute *ltc2945_attrs[] = {
};
ATTRIBUTE_GROUPS(ltc2945);
-static struct regmap_config ltc2945_regmap_config = {
+static const struct regmap_config ltc2945_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = LTC2945_MIN_ADIN_THRES_L,
OpenPOWER on IntegriCloud