diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-08-22 08:45:15 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-22 09:13:21 +0100 |
commit | 9c587c05d715ca8461342c2cb3b4a67036b5c22b (patch) | |
tree | 3d87c7dd11c18f3ccce4b3aa6995ada801593507 /drivers/gpio/gpio-lpc32xx.c | |
parent | f80cb526e301ab625dd04f6137f9995607348ce3 (diff) | |
download | linux-stable-9c587c05d715ca8461342c2cb3b4a67036b5c22b.tar.gz linux-stable-9c587c05d715ca8461342c2cb3b4a67036b5c22b.tar.bz2 linux-stable-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) |