aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/emc1403.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-07-01 20:42:18 -0400
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 10:01:35 -0400
commit034b44b4a22371c5bcbfb602a5420f3b75939dd8 (patch)
treebdd4f9f3e3dee7ddb7cbd6bf8fd5a4cbdb6dc2d8 /drivers/hwmon/emc1403.c
parentfa0efc4091e2299741a0391eeaadd36f335d942e (diff)
hwmon: Make regmap configs const
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/emc1403.c')
-rw-r--r--drivers/hwmon/emc1403.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/emc1403.c b/drivers/hwmon/emc1403.c
index a37b2204a418..1ea7ca510f84 100644
--- a/drivers/hwmon/emc1403.c
+++ b/drivers/hwmon/emc1403.c
@@ -416,7 +416,7 @@ static bool emc1403_regmap_is_volatile(struct device *dev, unsigned int reg)
416 } 416 }
417} 417}
418 418
419static struct regmap_config emc1403_regmap_config = { 419static const struct regmap_config emc1403_regmap_config = {
420 .reg_bits = 8, 420 .reg_bits = 8,
421 .val_bits = 8, 421 .val_bits = 8,
422 .cache_type = REGCACHE_RBTREE, 422 .cache_type = REGCACHE_RBTREE,