hwmon: Make regmap configs const
[cascardo/linux.git] / drivers / hwmon / emc1403.c
index a37b220..1ea7ca5 100644 (file)
@@ -416,7 +416,7 @@ static bool emc1403_regmap_is_volatile(struct device *dev, unsigned int reg)
        }
 }
 
-static struct regmap_config emc1403_regmap_config = {
+static const struct regmap_config emc1403_regmap_config = {
        .reg_bits = 8,
        .val_bits = 8,
        .cache_type = REGCACHE_RBTREE,