diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-03-03 04:52:34 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-19 18:29:32 +0000 |
commit | 3e3c62ca5395df48319b808379bc9fd487ff3c29 (patch) | |
tree | e4f9146aefc7401fc5e201c2f7bb1c0f92ea65f1 /arch/arm/plat-nomadik/include/plat/gpio.h | |
parent | aaedaa2b5c610ae97f863078075d8d3c6ef91575 (diff) | |
download | op-kernel-dev-3e3c62ca5395df48319b808379bc9fd487ff3c29.zip op-kernel-dev-3e3c62ca5395df48319b808379bc9fd487ff3c29.tar.gz |
ARM: 5972/1: nomadik-gpio: convert to platform driver
On the U8500 platform there are four GPIO blocks, each with a 4K address
space, including the peripheral identification. However, each of these
blocks have a varying number of banks, each of which have 32 GPIOs and
an interrupt line.
The current nomadik-gpio driver implementation can handle each of these
sub-banks easily with one instance each, but cannot as-is be hooked up
to them because it is an AMBA driver and it expects to see a peripheral
with the appropriate peripheral ids but having only one bank and only
one interrupt.
Solve this by converting the driver to a platform driver.
Acked-by: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-nomadik/include/plat/gpio.h')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/gpio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/gpio.h b/arch/arm/plat-nomadik/include/plat/gpio.h index 1d665a0a..4200811 100644 --- a/arch/arm/plat-nomadik/include/plat/gpio.h +++ b/arch/arm/plat-nomadik/include/plat/gpio.h @@ -65,7 +65,6 @@ struct nmk_gpio_platform_data { char *name; int first_gpio; int first_irq; - int parent_irq; }; #endif /* __ASM_PLAT_GPIO_H */ |