diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-04-27 21:54:07 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-05-06 15:33:48 +0200 |
commit | 0b354dc4335b230c05d8de3648404943553ca54f (patch) | |
tree | 9347d962836e456849f8e6dd51d53c4494ea72f0 /drivers/gpio/gpio-bcm-kona.c | |
parent | e5b609537616aae7effb6345c78f7a4f00201fd6 (diff) | |
download | linux-0b354dc4335b230c05d8de3648404943553ca54f.tar.bz2 |
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-bcm-kona.c')
-rw-r--r-- | drivers/gpio/gpio-bcm-kona.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index b164ce837b43..cb89f37ffc02 100644 --- a/drivers/gpio/gpio-bcm-kona.c +++ b/drivers/gpio/gpio-bcm-kona.c @@ -534,7 +534,7 @@ static void bcm_kona_gpio_irq_unmap(struct irq_domain *d, unsigned int irq) irq_set_chip_data(irq, NULL); } -static struct irq_domain_ops bcm_kona_irq_ops = { +static const struct irq_domain_ops bcm_kona_irq_ops = { .map = bcm_kona_gpio_irq_map, .unmap = bcm_kona_gpio_irq_unmap, .xlate = irq_domain_xlate_twocell, |