summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-09-28 10:11:30 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-10-02 00:45:34 +0200
commitf55be1bf52aad524dc1bf556ae26c90262c87825 (patch)
treede61131bfac6985902a66ce0b29909ad0519acf9 /drivers/gpio
parentARM: 7103/1: plat-pxa: move PXA GPIO driver to GPIO subsystem (diff)
downloadlinux-f55be1bf52aad524dc1bf556ae26c90262c87825.tar.xz
linux-f55be1bf52aad524dc1bf556ae26c90262c87825.zip
ARM: 7104/1: plat-pxa: 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: Eric Miao <eric.y.miao@gmail.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')
-rw-r--r--drivers/gpio/gpio-pxa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c
index 5d6a86bfc68d..9052925c6fa2 100644
--- a/drivers/gpio/gpio-pxa.c
+++ b/drivers/gpio/gpio-pxa.c
@@ -18,6 +18,8 @@
#include <linux/syscore_ops.h>
#include <linux/slab.h>
+#include <mach/gpio-pxa.h>
+
int pxa_last_gpio;
struct pxa_gpio_chip {