change to len_chanlist
authorDavid Schleef <ds@schleef.org>
Mon, 5 Feb 2001 18:09:11 +0000 (18:09 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 5 Feb 2001 18:09:11 +0000 (18:09 +0000)
comedi/drivers/ii_pci20kc.c

index b8972c61d86d44b0a8b7950ffab4e2f90ec0fa47..9075cab9c8955778751cf6f2e743705e9d55fd08 100644 (file)
@@ -263,6 +263,7 @@ static int pci20006_init(comedi_device * dev,comedi_subdevice *s,
        s->type = COMEDI_SUBD_AO;
        s->subdev_flags = SDF_WRITEABLE|SDF_RT;
        s->n_chan = 2;
+       s->len_chanlist = 2;
        s->insn_read = pci20006_insn_read;
        s->insn_write = pci20006_insn_write;
        s->maxdata = 0xffff;