diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-07-02 08:42:18 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-08-04 07:01:35 -0700 |
commit | 034b44b4a22371c5bcbfb602a5420f3b75939dd8 (patch) | |
tree | bdd4f9f3e3dee7ddb7cbd6bf8fd5a4cbdb6dc2d8 /drivers/hwmon/ltc4222.c | |
parent | fa0efc4091e2299741a0391eeaadd36f335d942e (diff) | |
download | op-kernel-dev-034b44b4a22371c5bcbfb602a5420f3b75939dd8.zip op-kernel-dev-034b44b4a22371c5bcbfb602a5420f3b75939dd8.tar.gz |
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/ltc4222.c')
-rw-r--r-- | drivers/hwmon/ltc4222.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ltc4222.c b/drivers/hwmon/ltc4222.c index 07c2565..88f7472 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, |