aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/sec-core.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2013-11-28 03:09:43 -0500
committerLee Jones <lee.jones@linaro.org>2014-01-21 03:13:37 -0500
commita30fffb0606c033d1253261651113c1632aa5f65 (patch)
treee2d9da0c99d8c1e76ea5fe64f20886063d032bd8 /drivers/mfd/sec-core.c
parent41096801f9de9b86ddfdfabd195e604b1c1087fe (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.c8
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
137static struct regmap_config sec_regmap_config = { 137static 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
142static struct regmap_config s2mps11_regmap_config = { 142static 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
151static struct regmap_config s5m8763_regmap_config = { 151static 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
160static struct regmap_config s5m8767_regmap_config = { 160static 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