From adeafa7cfb999ddd12dfd945a37feeaaf83686df Mon Sep 17 00:00:00 2001 From: blogic Date: Sat, 26 Jan 2008 03:52:11 +0000 Subject: add missing header file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10265 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic-2.6/files/include/linux/gpio_dev.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/generic-2.6/files/include/linux/gpio_dev.h (limited to 'target/linux/generic-2.6/files') 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 -- cgit v1.2.3