aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-09-28 09:11:30 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-10-01 23:45:34 +0100
commitf55be1bf52aad524dc1bf556ae26c90262c87825 (patch)
treede61131bfac6985902a66ce0b29909ad0519acf9 /drivers/gpio
parent354bf8010ffea1ca5accd9fae26b7373df96bcb7 (diff)
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 5d6a86bfc68..9052925c6fa 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 {