return 0;
}
-static int timer_poll(comedi_device *dev,comedi_subdevice *s)
-{
- /* This it pretty generic code, perhaps it should be the
- * default for any subdevice that doesn't implement poll. */
- return s->async->buf_int_count - s->async->buf_user_count;
-}
-
static int timer_attach(comedi_device *dev,comedi_devconfig *it)
{
int ret;
s->maxdata=emul_s->maxdata;
s->range_table=emul_s->range_table;
s->range_table_list=emul_s->range_table_list;
- s->poll=timer_poll;
switch(emul_s->type){
case COMEDI_SUBD_AI:
s->insn_read=timer_insn;