diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2013-11-28 03:09:43 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-01-21 03:13:37 -0500 |
commit | a30fffb0606c033d1253261651113c1632aa5f65 (patch) | |
tree | e2d9da0c99d8c1e76ea5fe64f20886063d032bd8 /drivers/mfd/sec-core.c | |
parent | 41096801f9de9b86ddfdfabd195e604b1c1087fe (diff) |
mfd: sec: Constify regmap configs and regmap irqs
Add "const" to "static struct regmap_irq" and "static struct
regmap_config".
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Reviewed-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/sec-core.c')
-rw-r--r-- | drivers/mfd/sec-core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index cca0f990d287..3ad1b2fbee4a 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c | |||
@@ -134,12 +134,12 @@ static bool s5m8763_volatile(struct device *dev, unsigned int reg) | |||
134 | } | 134 | } |
135 | } | 135 | } |
136 | 136 | ||
137 | static struct regmap_config sec_regmap_config = { | 137 | static const struct regmap_config sec_regmap_config = { |
138 | .reg_bits = 8, | 138 | .reg_bits = 8, |
139 | .val_bits = 8, | 139 | .val_bits = 8, |
140 | }; | 140 | }; |
141 | 141 | ||
142 | static struct regmap_config s2mps11_regmap_config = { | 142 | static const struct regmap_config s2mps11_regmap_config = { |
143 | .reg_bits = 8, | 143 | .reg_bits = 8, |
144 | .val_bits = 8, | 144 | .val_bits = 8, |
145 | 145 | ||
@@ -148,7 +148,7 @@ static struct regmap_config s2mps11_regmap_config = { | |||
148 | .cache_type = REGCACHE_FLAT, | 148 | .cache_type = REGCACHE_FLAT, |
149 | }; | 149 | }; |
150 | 150 | ||
151 | static struct regmap_config s5m8763_regmap_config = { | 151 | static const struct regmap_config s5m8763_regmap_config = { |
152 | .reg_bits = 8, | 152 | .reg_bits = 8, |
153 | .val_bits = 8, | 153 | .val_bits = 8, |
154 | 154 | ||
@@ -157,7 +157,7 @@ static struct regmap_config s5m8763_regmap_config = { | |||
157 | .cache_type = REGCACHE_FLAT, | 157 | .cache_type = REGCACHE_FLAT, |
158 | }; | 158 | }; |
159 | 159 | ||
160 | static struct regmap_config s5m8767_regmap_config = { | 160 | static const struct regmap_config s5m8767_regmap_config = { |
161 | .reg_bits = 8, | 161 | .reg_bits = 8, |
162 | .val_bits = 8, | 162 | .val_bits = 8, |
163 | 163 | ||