From: John Crispin Date: Sat, 26 Jan 2008 03:52:11 +0000 (+0000) Subject: add missing header file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5411061a03b8ecfaf06e7c21d6e5ae51e275c005;p=openwrt%2Fstaging%2Frmilecki.git add missing header file SVN-Revision: 10265 --- 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 00000000000..3f3c9c772c9 --- /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