summaryrefslogtreecommitdiffstats
path: root/include/gpio.h
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2013-11-22 00:11:23 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2013-11-22 10:59:00 +0100
commit6339a419e91ec16afe02cb9270c487778129aa3c (patch)
tree05c91183ed3bd77ed8f6fd283a8ddaad9fae90d7 /include/gpio.h
parentd7fc449a2ea8686f73403922f045b6d39baab27f (diff)
downloadbarebox-6339a419e91ec16afe02cb9270c487778129aa3c.tar.gz
barebox-6339a419e91ec16afe02cb9270c487778129aa3c.tar.xz
gpio: unify gpio direction macros names with Linux kernel
See linux.git/include/linux/gpio.h and linux.git/Documentation/gpio.txt for details. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/gpio.h')
-rw-r--r--include/gpio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpio.h b/include/gpio.h
index 708b2aa119..f33b43550c 100644
--- a/include/gpio.h
+++ b/include/gpio.h
@@ -3,8 +3,8 @@
#include <asm/gpio.h>
-#define GPIO_DIR_OUT (0 << 0)
-#define GPIO_DIR_IN (1 << 0)
+#define GPIOF_DIR_OUT (0 << 0)
+#define GPIOF_DIR_IN (1 << 0)
#ifndef CONFIG_GPIOLIB
static inline int gpio_request(unsigned gpio, const char *label)