short dataPoint = 0;
struct comedi_device *dev = d;
struct comedi_subdevice *s = dev->read_subdev; /* analog input subdevice */
- comedi_async *async;
+ struct comedi_async *async;
int status;
unsigned long irq_flags;
static const int max_loops = 128; // half-fifo size for cio-das802/16
int startChan, endChan, scan, gain;
int conv_bits;
unsigned long irq_flags;
- comedi_async *async = s->async;
+ struct comedi_async *async = s->async;
if (!dev->irq) {
comedi_error(dev,