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-sa1100.c | |
parent | e5b609537616aae7effb6345c78f7a4f00201fd6 (diff) | |
download | op-kernel-dev-0b354dc4335b230c05d8de3648404943553ca54f.zip op-kernel-dev-0b354dc4335b230c05d8de3648404943553ca54f.tar.gz |
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-sa1100.c')
-rw-r--r-- | drivers/gpio/gpio-sa1100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sa1100.c b/drivers/gpio/gpio-sa1100.c index bec397a..3fa22da 100644 --- a/drivers/gpio/gpio-sa1100.c +++ b/drivers/gpio/gpio-sa1100.c @@ -160,7 +160,7 @@ static int sa1100_gpio_irqdomain_map(struct irq_domain *d, return 0; } -static struct irq_domain_ops sa1100_gpio_irqdomain_ops = { +static const struct irq_domain_ops sa1100_gpio_irqdomain_ops = { .map = sa1100_gpio_irqdomain_map, .xlate = irq_domain_xlate_onetwocell, }; |