hwmon: Make regmap configs const
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user