summaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/include
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-07-05 22:41:31 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-07-06 17:00:43 +0100
commiteb7fffa39a3f114832df54a3e373d7580d8fe757 (patch)
tree47d4b5986e8d85433abc99e8bc02572cc970c357 /arch/arm/mach-realview/include
parentbbeddc43e673fb6882cc55efdc3c3002c14f5d08 (diff)
[ARM] realview: add PL061 gpiolib support
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/include')
-rw-r--r--arch/arm/mach-realview/include/mach/gpio.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/include/mach/gpio.h b/arch/arm/mach-realview/include/mach/gpio.h
new file mode 100644
index 000000000000..94ff27678a46
--- /dev/null
+++ b/arch/arm/mach-realview/include/mach/gpio.h
@@ -0,0 +1,6 @@
+#include <asm-generic/gpio.h>
+
+#define gpio_get_value __gpio_get_value
+#define gpio_set_value __gpio_set_value
+#define gpio_cansleep __gpio_cansleep
+#define gpio_to_irq __gpio_to_irq