summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/tmp103.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/tmp103.c')
-rw-r--r--drivers/hwmon/tmp103.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/tmp103.c b/drivers/hwmon/tmp103.c
index c9f99e0eb368..c74d2da389d9 100644
--- a/drivers/hwmon/tmp103.c
+++ b/drivers/hwmon/tmp103.c
@@ -116,7 +116,7 @@ static bool tmp103_regmap_is_volatile(struct device *dev, unsigned int reg)
return reg == TMP103_TEMP_REG;
}
-static struct regmap_config tmp103_regmap_config = {
+static const struct regmap_config tmp103_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = TMP103_THIGH_REG,