diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-04-11 09:06:36 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-16 17:46:11 -0400 |
commit | b7ce341585a51a6d65c7a77b6918132a3b360b81 (patch) | |
tree | 4214625269c3ed6fa6a7c2cd9059a126dc4750bb /arch | |
parent | 863fbf4966a7ac301a4077e4a04d73e8abfdd7b2 (diff) |
[POWERPC] Implement support for the GPIO LIB API
This implements support for the GPIO LIB API. Two calls are still
unimplemented though: irq_to_gpio and gpio_to_irq.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 1d4d19f6d6e1..c51b6bba5fce 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -81,6 +81,11 @@ config GENERIC_FIND_NEXT_BIT | |||
81 | bool | 81 | bool |
82 | default y | 82 | default y |
83 | 83 | ||
84 | config GENERIC_GPIO | ||
85 | bool | ||
86 | help | ||
87 | Generic GPIO API support | ||
88 | |||
84 | config ARCH_NO_VIRT_TO_BUS | 89 | config ARCH_NO_VIRT_TO_BUS |
85 | def_bool PPC64 | 90 | def_bool PPC64 |
86 | 91 | ||