diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-09-08 04:04:51 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-09-08 05:03:56 -0400 |
commit | cc890cd78acd7ab03442907d354b6af34e973cb3 (patch) | |
tree | 67cf73ea730969ffc26c3a5c55de8d96bb8b6299 /arch/arm/Kconfig | |
parent | 526a0dc771a5cac3224e26abd1f018976b967516 (diff) |
ARM: 7083/1: rewrite U300 GPIO to use gpiolib
This rewrites the U300 GPIO so as to use gpiolib and
struct gpio_chip instead of just generic GPIO, hiding
all the platform specifics and passing in GPIO chip
variant as platform data at runtime instead of the
compiletime kludges.
As a result <mach/gpio.h> is now empty for U300 and
using just defaults.
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Debian kernel maintainers <debian-kernel@lists.debian.org>
Cc: Arnaud Patard <arnaud.patard@rtp-net.org>
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
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 2c71a8f3535a..05589e85c180 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -836,6 +836,7 @@ config ARCH_U300 | |||
836 | select CLKDEV_LOOKUP | 836 | select CLKDEV_LOOKUP |
837 | select HAVE_MACH_CLKDEV | 837 | select HAVE_MACH_CLKDEV |
838 | select GENERIC_GPIO | 838 | select GENERIC_GPIO |
839 | select ARCH_REQUIRE_GPIOLIB | ||
839 | help | 840 | help |
840 | Support for ST-Ericsson U300 series mobile platforms. | 841 | Support for ST-Ericsson U300 series mobile platforms. |
841 | 842 | ||