diff options
Diffstat (limited to 'drivers/mfd/sec-irq.c')
-rw-r--r-- | drivers/mfd/sec-irq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mfd/sec-irq.c b/drivers/mfd/sec-irq.c index b441b1be27cb..4de494f51d40 100644 --- a/drivers/mfd/sec-irq.c +++ b/drivers/mfd/sec-irq.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/mfd/samsung/s5m8763.h> | 22 | #include <linux/mfd/samsung/s5m8763.h> |
23 | #include <linux/mfd/samsung/s5m8767.h> | 23 | #include <linux/mfd/samsung/s5m8767.h> |
24 | 24 | ||
25 | static struct regmap_irq s2mps11_irqs[] = { | 25 | static const struct regmap_irq s2mps11_irqs[] = { |
26 | [S2MPS11_IRQ_PWRONF] = { | 26 | [S2MPS11_IRQ_PWRONF] = { |
27 | .reg_offset = 0, | 27 | .reg_offset = 0, |
28 | .mask = S2MPS11_IRQ_PWRONF_MASK, | 28 | .mask = S2MPS11_IRQ_PWRONF_MASK, |
@@ -90,7 +90,7 @@ static struct regmap_irq s2mps11_irqs[] = { | |||
90 | }; | 90 | }; |
91 | 91 | ||
92 | 92 | ||
93 | static struct regmap_irq s5m8767_irqs[] = { | 93 | static const struct regmap_irq s5m8767_irqs[] = { |
94 | [S5M8767_IRQ_PWRR] = { | 94 | [S5M8767_IRQ_PWRR] = { |
95 | .reg_offset = 0, | 95 | .reg_offset = 0, |
96 | .mask = S5M8767_IRQ_PWRR_MASK, | 96 | .mask = S5M8767_IRQ_PWRR_MASK, |
@@ -161,7 +161,7 @@ static struct regmap_irq s5m8767_irqs[] = { | |||
161 | }, | 161 | }, |
162 | }; | 162 | }; |
163 | 163 | ||
164 | static struct regmap_irq s5m8763_irqs[] = { | 164 | static const struct regmap_irq s5m8763_irqs[] = { |
165 | [S5M8763_IRQ_DCINF] = { | 165 | [S5M8763_IRQ_DCINF] = { |
166 | .reg_offset = 0, | 166 | .reg_offset = 0, |
167 | .mask = S5M8763_IRQ_DCINF_MASK, | 167 | .mask = S5M8763_IRQ_DCINF_MASK, |
@@ -236,7 +236,7 @@ static struct regmap_irq s5m8763_irqs[] = { | |||
236 | }, | 236 | }, |
237 | }; | 237 | }; |
238 | 238 | ||
239 | static struct regmap_irq_chip s2mps11_irq_chip = { | 239 | static const struct regmap_irq_chip s2mps11_irq_chip = { |
240 | .name = "s2mps11", | 240 | .name = "s2mps11", |
241 | .irqs = s2mps11_irqs, | 241 | .irqs = s2mps11_irqs, |
242 | .num_irqs = ARRAY_SIZE(s2mps11_irqs), | 242 | .num_irqs = ARRAY_SIZE(s2mps11_irqs), |
@@ -246,7 +246,7 @@ static struct regmap_irq_chip s2mps11_irq_chip = { | |||
246 | .ack_base = S2MPS11_REG_INT1, | 246 | .ack_base = S2MPS11_REG_INT1, |
247 | }; | 247 | }; |
248 | 248 | ||
249 | static struct regmap_irq_chip s5m8767_irq_chip = { | 249 | static const struct regmap_irq_chip s5m8767_irq_chip = { |
250 | .name = "s5m8767", | 250 | .name = "s5m8767", |
251 | .irqs = s5m8767_irqs, | 251 | .irqs = s5m8767_irqs, |
252 | .num_irqs = ARRAY_SIZE(s5m8767_irqs), | 252 | .num_irqs = ARRAY_SIZE(s5m8767_irqs), |
@@ -256,7 +256,7 @@ static struct regmap_irq_chip s5m8767_irq_chip = { | |||
256 | .ack_base = S5M8767_REG_INT1, | 256 | .ack_base = S5M8767_REG_INT1, |
257 | }; | 257 | }; |
258 | 258 | ||
259 | static struct regmap_irq_chip s5m8763_irq_chip = { | 259 | static const struct regmap_irq_chip s5m8763_irq_chip = { |
260 | .name = "s5m8763", | 260 | .name = "s5m8763", |
261 | .irqs = s5m8763_irqs, | 261 | .irqs = s5m8763_irqs, |
262 | .num_irqs = ARRAY_SIZE(s5m8763_irqs), | 262 | .num_irqs = ARRAY_SIZE(s5m8763_irqs), |