From 034b44b4a22371c5bcbfb602a5420f3b75939dd8 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Wed, 2 Jul 2014 08:42:18 +0800 Subject: hwmon: Make regmap configs const Signed-off-by: Axel Lin Signed-off-by: Guenter Roeck --- drivers/hwmon/ltc4222.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/hwmon/ltc4222.c') 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, -- cgit v1.2.3