diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2008-02-05 01:28:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:13 -0500 |
commit | 1c44f5f16fee880b294f8068354bfb9dddf1349b (patch) | |
tree | dd9815cf7a38af7d4abc55eb707574ceedd8a912 /arch/arm/Kconfig | |
parent | 7c2db759ece63fd166cf0849b7b271589fa1b754 (diff) |
gpiolib support for the PXA architecture
This adds gpiolib support for the PXA architecture:
- move all GPIO API functions from generic.c into gpio.c
- convert the gpio_get/set_value macros into inline functions
This makes it easier to hook up GPIOs provided by external chips like
ASICs and CPLDs.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Eric Miao <eric.miao@marvell.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Ben Gardner <bgardner@wabtec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
[ Minor ARM fixup from David Brownell folded into this ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index a322f58cdc90..e19e7744e366 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -385,6 +385,7 @@ config ARCH_PXA | |||
385 | depends on MMU | 385 | depends on MMU |
386 | select ARCH_MTD_XIP | 386 | select ARCH_MTD_XIP |
387 | select GENERIC_GPIO | 387 | select GENERIC_GPIO |
388 | select HAVE_GPIO_LIB | ||
388 | select GENERIC_TIME | 389 | select GENERIC_TIME |
389 | select GENERIC_CLOCKEVENTS | 390 | select GENERIC_CLOCKEVENTS |
390 | select TICK_ONESHOT | 391 | select TICK_ONESHOT |