summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-grgpio.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-04-27 21:54:07 +0900
committerLinus Walleij <linus.walleij@linaro.org>2015-05-06 15:33:48 +0200
commit0b354dc4335b230c05d8de3648404943553ca54f (patch)
tree9347d962836e456849f8e6dd51d53c4494ea72f0 /drivers/gpio/gpio-grgpio.c
parente5b609537616aae7effb6345c78f7a4f00201fd6 (diff)
downloadlinux-0b354dc4335b230c05d8de3648404943553ca54f.tar.gz
linux-0b354dc4335b230c05d8de3648404943553ca54f.tar.bz2
linux-0b354dc4335b230c05d8de3648404943553ca54f.zip
gpio: Constify irq_domain_ops
The irq_domain_ops are not modified by the driver and the irqdomain core code accepts pointer to a const data. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-grgpio.c')
-rw-r--r--drivers/gpio/gpio-grgpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-grgpio.c b/drivers/gpio/gpio-grgpio.c
index 35a02770c8b0..0a8f7617e72e 100644
--- a/drivers/gpio/gpio-grgpio.c
+++ b/drivers/gpio/gpio-grgpio.c
@@ -332,7 +332,7 @@ static void grgpio_irq_unmap(struct irq_domain *d, unsigned int irq)
spin_unlock_irqrestore(&priv->bgc.lock, flags);
}
-static struct irq_domain_ops grgpio_irq_domain_ops = {
+static const struct irq_domain_ops grgpio_irq_domain_ops = {
.map = grgpio_irq_map,
.unmap = grgpio_irq_unmap,
};