aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-01-26 03:52:11 +0000
committerJohn Crispin <john@openwrt.org>2008-01-26 03:52:11 +0000
commit5411061a03b8ecfaf06e7c21d6e5ae51e275c005 (patch)
tree8c32ebd6a2efc17e385154f4613ea0024cc2ad81 /target/linux/generic-2.6/files
parentf6c094ac8aba88dff6731f812cb1213ae91588eb (diff)
downloadupstream-5411061a03b8ecfaf06e7c21d6e5ae51e275c005.tar.gz
upstream-5411061a03b8ecfaf06e7c21d6e5ae51e275c005.tar.bz2
upstream-5411061a03b8ecfaf06e7c21d6e5ae51e275c005.zip
add missing header file
SVN-Revision: 10265
Diffstat (limited to 'target/linux/generic-2.6/files')
-rw-r--r--target/linux/generic-2.6/files/include/linux/gpio_dev.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/generic-2.6/files/include/linux/gpio_dev.h b/target/linux/generic-2.6/files/include/linux/gpio_dev.h
new file mode 100644
index 0000000000..3f3c9c772c
--- /dev/null
+++ b/target/linux/generic-2.6/files/include/linux/gpio_dev.h
@@ -0,0 +1,11 @@
+#ifndef _GPIODEV_H__
+#define _GPIODEV_H__
+
+#define IOC_GPIODEV_MAGIC 'B'
+#define GPIO_GET _IO(IOC_GPIODEV_MAGIC, 10)
+#define GPIO_SET _IO(IOC_GPIODEV_MAGIC, 11)
+#define GPIO_CLEAR _IO(IOC_GPIODEV_MAGIC, 12)
+#define GPIO_DIR_IN _IO(IOC_GPIODEV_MAGIC, 13)
+#define GPIO_DIR_OUT _IO(IOC_GPIODEV_MAGIC, 14)
+
+#endif