diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-10-17 18:31:20 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-11 19:06:02 +0100 |
commit | a6c45b99a658521291cfb66ecf035cc58b38f206 (patch) | |
tree | 965842ac249c2b786c54d0fab12008276f419121 /include | |
parent | ARM: U300: bump IRQs to offset 32 (diff) | |
download | linux-a6c45b99a658521291cfb66ecf035cc58b38f206.tar.xz linux-a6c45b99a658521291cfb66ecf035cc58b38f206.zip |
pinctrl/coh901: use irqdomain, allocate irqdescs
This switches the COH 901 pinctrl driver to allocate its GPIO
IRQs dynamically, and start to use a linear irqdomain to map
from the hardware IRQs.
This way we can cut away the complex allocation of IRQ numbers
from the <mach/irqs.h> file.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/platform_data/pinctrl-coh901.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/platform_data/pinctrl-coh901.h b/include/linux/platform_data/pinctrl-coh901.h index 30dea251b835..27a23b318cef 100644 --- a/include/linux/platform_data/pinctrl-coh901.h +++ b/include/linux/platform_data/pinctrl-coh901.h @@ -13,13 +13,11 @@ * struct u300_gpio_platform - U300 GPIO platform data * @ports: number of GPIO block ports * @gpio_base: first GPIO number for this block (use a free range) - * @gpio_irq_base: first GPIO IRQ number for this block (use a free range) * @pinctrl_device: pin control device to spawn as child */ struct u300_gpio_platform { u8 ports; int gpio_base; - int gpio_irq_base; struct platform_device *pinctrl_device; }; |