diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2012-10-17 12:31:20 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2012-11-11 13:06:02 -0500 |
| commit | a6c45b99a658521291cfb66ecf035cc58b38f206 (patch) | |
| tree | 965842ac249c2b786c54d0fab12008276f419121 /include/linux/platform_data | |
| parent | d4a31ee8997b2fbd82837182363cf8fa84abf347 (diff) | |
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/linux/platform_data')
| -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 @@ | |||
| 13 | * struct u300_gpio_platform - U300 GPIO platform data | 13 | * struct u300_gpio_platform - U300 GPIO platform data |
| 14 | * @ports: number of GPIO block ports | 14 | * @ports: number of GPIO block ports |
| 15 | * @gpio_base: first GPIO number for this block (use a free range) | 15 | * @gpio_base: first GPIO number for this block (use a free range) |
| 16 | * @gpio_irq_base: first GPIO IRQ number for this block (use a free range) | ||
| 17 | * @pinctrl_device: pin control device to spawn as child | 16 | * @pinctrl_device: pin control device to spawn as child |
| 18 | */ | 17 | */ |
| 19 | struct u300_gpio_platform { | 18 | struct u300_gpio_platform { |
| 20 | u8 ports; | 19 | u8 ports; |
| 21 | int gpio_base; | 20 | int gpio_base; |
| 22 | int gpio_irq_base; | ||
| 23 | struct platform_device *pinctrl_device; | 21 | struct platform_device *pinctrl_device; |
| 24 | }; | 22 | }; |
| 25 | 23 | ||
