summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ltc4260.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-07-02 02:42:18 +0200
committerGuenter Roeck <linux@roeck-us.net>2014-08-04 16:01:35 +0200
commit034b44b4a22371c5bcbfb602a5420f3b75939dd8 (patch)
treebdd4f9f3e3dee7ddb7cbd6bf8fd5a4cbdb6dc2d8 /drivers/hwmon/ltc4260.c
parenthwmon: (htu21) Convert to devm_hwmon_device_register_with_groups (diff)
downloadlinux-034b44b4a22371c5bcbfb602a5420f3b75939dd8.tar.xz
linux-034b44b4a22371c5bcbfb602a5420f3b75939dd8.zip
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/ltc4260.c')
-rw-r--r--drivers/hwmon/ltc4260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ltc4260.c b/drivers/hwmon/ltc4260.c
index 453a250d9df5..afb09574b12c 100644
--- a/drivers/hwmon/ltc4260.c
+++ b/drivers/hwmon/ltc4260.c
@@ -150,7 +150,7 @@ static struct attribute *ltc4260_attrs[] = {
};
ATTRIBUTE_GROUPS(ltc4260);
-static struct regmap_config ltc4260_regmap_config = {
+static const struct regmap_config ltc4260_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = LTC4260_ADIN,