summaryrefslogtreecommitdiff
path: root/include/linux/gpio/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gpio/defs.h')
-rw-r--r--include/linux/gpio/defs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/gpio/defs.h b/include/linux/gpio/defs.h
new file mode 100644
index 000000000000..b69fd7c041b2
--- /dev/null
+++ b/include/linux/gpio/defs.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __LINUX_GPIO_DEFS_H
+#define __LINUX_GPIO_DEFS_H
+
+#define GPIO_LINE_DIRECTION_IN 1
+#define GPIO_LINE_DIRECTION_OUT 0
+
+#endif /* __LINUX_GPIO_DEFS_H */