The 'timer' subdevice on the PCIe boards should be of type
COMEDI_SUBD_TIMER, not COMEDI_SUBD_COUNTER. Fix it.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
static int
dio200_subdev_timer_init(comedi_device * dev, comedi_subdevice * s)
{
static int
dio200_subdev_timer_init(comedi_device * dev, comedi_subdevice * s)
{
- s->type = COMEDI_SUBD_COUNTER;
+ s->type = COMEDI_SUBD_TIMER;
s->subdev_flags = SDF_READABLE | SDF_LSAMPL;
s->n_chan = 1;
s->maxdata = 0xFFFFFFFF;
s->subdev_flags = SDF_READABLE | SDF_LSAMPL;
s->n_chan = 1;
s->maxdata = 0xFFFFFFFF;