diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-08-22 09:45:15 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-22 10:13:21 +0200 |
commit | 9c587c05d715ca8461342c2cb3b4a67036b5c22b (patch) | |
tree | 3d87c7dd11c18f3ccce4b3aa6995ada801593507 /drivers/gpio/gpio-lpc32xx.c | |
parent | ARM: 7044/1: mach-lpc32xx: move LPC32XX GPIO driver to GPIO subsystem (diff) | |
download | linux-9c587c05d715ca8461342c2cb3b4a67036b5c22b.tar.xz linux-9c587c05d715ca8461342c2cb3b4a67036b5c22b.zip |
ARM: 7045/1: mach-lpc32xx: break out GPIO driver specifics
The <mach/gpio.h> file is included from upper directories
and deal with generic GPIO and gpiolib stuff. Break out the
platform and driver specific defines and functions into its own
header file.
Cc: Wolfram Sang <w.sang@pengutronix.de>
Cc: Barry Song <bs14@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/gpio/gpio-lpc32xx.c')
-rw-r--r-- | drivers/gpio/gpio-lpc32xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index b4e9d35a6fa6..5b6948081f8f 100644 --- a/drivers/gpio/gpio-lpc32xx.c +++ b/drivers/gpio/gpio-lpc32xx.c @@ -24,6 +24,7 @@ #include <mach/hardware.h> #include <mach/platform.h> +#include <mach/gpio-lpc32xx.h> #define LPC32XX_GPIO_P3_INP_STATE _GPREG(0x000) #define LPC32XX_GPIO_P3_OUTP_SET _GPREG(0x004) |