diff options
author | John Crispin <john@openwrt.org> | 2008-01-26 03:52:11 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-01-26 03:52:11 +0000 |
commit | 5411061a03b8ecfaf06e7c21d6e5ae51e275c005 (patch) | |
tree | 8c32ebd6a2efc17e385154f4613ea0024cc2ad81 /target/linux | |
parent | f6c094ac8aba88dff6731f812cb1213ae91588eb (diff) | |
download | mtk-20170518-5411061a03b8ecfaf06e7c21d6e5ae51e275c005.zip mtk-20170518-5411061a03b8ecfaf06e7c21d6e5ae51e275c005.tar.gz mtk-20170518-5411061a03b8ecfaf06e7c21d6e5ae51e275c005.tar.bz2 |
add missing header file
SVN-Revision: 10265
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/generic-2.6/files/include/linux/gpio_dev.h | 11 |
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 0000000..3f3c9c7 --- /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 |