openwrt/target/linux/generic-2.6/files-2.6.28/include/linux/gpio_dev.h
Imre Kaloz f21f51d858 add generic 2.6.28 patches
SVN-Revision: 13546
2008-12-08 13:23:09 +00:00

12 lines
337 B
C

#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