commit | 034b44b4a22371c5bcbfb602a5420f3b75939dd8 | [log] [tgz] |
---|---|---|
author | Axel Lin <[email protected]> | Wed Jul 02 08:42:18 2014 +0800 |
committer | Guenter Roeck <[email protected]> | Mon Aug 04 07:01:35 2014 -0700 |
tree | bdd4f9f3e3dee7ddb7cbd6bf8fd5a4cbdb6dc2d8 | |
parent | fa0efc4091e2299741a0391eeaadd36f335d942e [diff] [blame] |
hwmon: Make regmap configs const Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
diff --git a/drivers/hwmon/emc1403.c b/drivers/hwmon/emc1403.c index a37b220..1ea7ca5 100644 --- a/drivers/hwmon/emc1403.c +++ b/drivers/hwmon/emc1403.c
@@ -416,7 +416,7 @@ } } -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,