diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-04-27 14:54:13 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-06-22 13:25:01 +0200 |
commit | 7ce7b26f84cfcbcb04f526f56f685a56ccddf355 (patch) | |
tree | 33c78fde9eee73e24ec91e1f98051eb9909d5b91 /drivers/mfd/tps6586x.c | |
parent | Merge branches 'ib-mfd-watchdog-rtc-4.2', 'ib-mfd-regulator-4.2' and 'ib-mfd-... (diff) | |
download | linux-7ce7b26f84cfcbcb04f526f56f685a56ccddf355.tar.xz linux-7ce7b26f84cfcbcb04f526f56f685a56ccddf355.zip |
mfd: Constify regmap and irq configuration data
Constify in various drivers configuration data which is not modified:
- regmap_irq_chip,
- individual regmap_irq's in array,
- regmap_config,
- irq_domain_ops,
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/tps6586x.c')
-rw-r--r-- | drivers/mfd/tps6586x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c index 8e1dbc469580..e0a2583916ce 100644 --- a/drivers/mfd/tps6586x.c +++ b/drivers/mfd/tps6586x.c @@ -311,7 +311,7 @@ static int tps6586x_irq_map(struct irq_domain *h, unsigned int virq, return 0; } -static struct irq_domain_ops tps6586x_domain_ops = { +static const struct irq_domain_ops tps6586x_domain_ops = { .map = tps6586x_irq_map, .xlate = irq_domain_xlate_twocell, }; |