aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2008-01-26 03:52:11 +0000
committerJohn Crispin <blogic@openwrt.org>2008-01-26 03:52:11 +0000
commit8fea793a81655926faf70ba30b3cbd4ec0bdecdf (patch)
treebbf6b7958e7fc78c18dfe9e0e29e5dc564d76bab /target
parent161bb50f5da510c6396ca34dddb1a5f2612e57f9 (diff)
downloadmaster-187ad058-8fea793a81655926faf70ba30b3cbd4ec0bdecdf.tar.gz
master-187ad058-8fea793a81655926faf70ba30b3cbd4ec0bdecdf.tar.bz2
master-187ad058-8fea793a81655926faf70ba30b3cbd4ec0bdecdf.zip
add missing header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10265 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-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