add missing header file
[openwrt/openwrt.git] / target / linux / generic-2.6 / files / include / linux / gpio_dev.h
1 #ifndef _GPIODEV_H__
2 #define _GPIODEV_H__
3
4 #define IOC_GPIODEV_MAGIC 'B'
5 #define GPIO_GET _IO(IOC_GPIODEV_MAGIC, 10)
6 #define GPIO_SET _IO(IOC_GPIODEV_MAGIC, 11)
7 #define GPIO_CLEAR _IO(IOC_GPIODEV_MAGIC, 12)
8 #define GPIO_DIR_IN _IO(IOC_GPIODEV_MAGIC, 13)
9 #define GPIO_DIR_OUT _IO(IOC_GPIODEV_MAGIC, 14)
10
11 #endif