summaryrefslogtreecommitdiff
path: root/arch/arm/plat-spear/include/plat/gpio.h
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2010-04-01 12:30:42 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-04-14 11:31:58 +0100
commitbf976b51a32e255523c69022c1f21bf9ad527fc5 (patch)
treebddfe6b79aa74ff81ae7d8bb09080ee3e22d6d9e /arch/arm/plat-spear/include/plat/gpio.h
parente024c3d50c53999d15e3b8a21e0abbbf74c32140 (diff)
ARM: 6012/1: ST SPEAr: Added basic header files for SPEAr platform
Reviewed-by: Linus Walleij <linux.walleij@stericsson.com> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-spear/include/plat/gpio.h')
-rw-r--r--arch/arm/plat-spear/include/plat/gpio.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/plat-spear/include/plat/gpio.h b/arch/arm/plat-spear/include/plat/gpio.h
new file mode 100644
index 000000000000..b857c91257dd
--- /dev/null
+++ b/arch/arm/plat-spear/include/plat/gpio.h
@@ -0,0 +1,24 @@
+/*
+ * arch/arm/plat-spear/include/plat/gpio.h
+ *
+ * GPIO macros for SPEAr platform
+ *
+ * Copyright (C) 2009 ST Microelectronics
+ * Viresh Kumar<viresh.kumar@st.com>
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License version 2. This program is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef __PLAT_GPIO_H
+#define __PLAT_GPIO_H
+
+#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
+
+#endif /* __PLAT_GPIO_H */