staging: comedi: check s->async for poll(), read() and write()
[pandora-kernel.git] / drivers / staging / comedi / internal.h
1 /*
2  * various internal comedi functions
3  */
4 int do_rangeinfo_ioctl(struct comedi_device *dev,
5                        struct comedi_rangeinfo __user *arg);
6 int insn_inval(struct comedi_device *dev, struct comedi_subdevice *s,
7                struct comedi_insn *insn, unsigned int *data);
8 int comedi_alloc_board_minor(struct device *hardware_device);
9 void comedi_free_board_minor(unsigned minor);
10 int comedi_find_board_minor(struct device *hardware_device);
11 void comedi_reset_async_buf(struct comedi_async *async);
12 int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
13                      unsigned long new_size);