diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2013-11-21 22:15:27 +0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2013-12-25 22:32:11 +0400 |
commit | 9211ff3140f24f6372f4627fc8b473aa08249104 (patch) | |
tree | 2317ac8ace11e1d5b2ef31e80fea0ddafc392ed3 /include/linux/platform_data/gpio-davinci.h | |
parent | ee89cf63a1274a597fc2616d575251f88b3072b6 (diff) | |
download | linux-9211ff3140f24f6372f4627fc8b473aa08249104.tar.xz |
gpio: davinci: convert to use irqdomain support.
Convert the davinci gpio driver to use irqdomain support.
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
[grygorii.strashko@ti.com:
- switch to use one irq-domain per all GPIO banks
- keep irq_create_mapping() call in gpio_to_irq_banked() as it
simply transformed to irq_find_mapping() if IRQ mapping exist
already]
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'include/linux/platform_data/gpio-davinci.h')
-rw-r--r-- | include/linux/platform_data/gpio-davinci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/gpio-davinci.h b/include/linux/platform_data/gpio-davinci.h index 6efd20264585..0c3551bb671f 100644 --- a/include/linux/platform_data/gpio-davinci.h +++ b/include/linux/platform_data/gpio-davinci.h @@ -34,7 +34,7 @@ struct davinci_gpio_platform_data { struct davinci_gpio_controller { struct gpio_chip chip; - int irq_base; + struct irq_domain *irq_domain; /* Serialize access to GPIO registers */ spinlock_t lock; void __iomem *regs; |