summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/wm831x-irq.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-04-27 21:54:13 +0900
committerLee Jones <lee.jones@linaro.org>2015-06-22 12:25:01 +0100
commit7ce7b26f84cfcbcb04f526f56f685a56ccddf355 (patch)
tree33c78fde9eee73e24ec91e1f98051eb9909d5b91 /drivers/mfd/wm831x-irq.c
parent79aa79342c70c47a6e55f4865e8154f155109946 (diff)
downloadlinux-stable-7ce7b26f84cfcbcb04f526f56f685a56ccddf355.tar.gz
linux-stable-7ce7b26f84cfcbcb04f526f56f685a56ccddf355.tar.bz2
linux-stable-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/wm831x-irq.c')
-rw-r--r--drivers/mfd/wm831x-irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm831x-irq.c b/drivers/mfd/wm831x-irq.c
index 64e512eadf17..3da81263c764 100644
--- a/drivers/mfd/wm831x-irq.c
+++ b/drivers/mfd/wm831x-irq.c
@@ -564,7 +564,7 @@ static int wm831x_irq_map(struct irq_domain *h, unsigned int virq,
return 0;
}
-static struct irq_domain_ops wm831x_irq_domain_ops = {
+static const struct irq_domain_ops wm831x_irq_domain_ops = {
.map = wm831x_irq_map,
.xlate = irq_domain_xlate_twocell,
};