From ff3d161fb8a984ac9e8d5a21a61da9bbe2c20a46 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 5 Feb 2001 18:09:11 +0000 Subject: [PATCH] change to len_chanlist --- comedi/drivers/ii_pci20kc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/drivers/ii_pci20kc.c b/comedi/drivers/ii_pci20kc.c index b8972c61..9075cab9 100644 --- a/comedi/drivers/ii_pci20kc.c +++ b/comedi/drivers/ii_pci20kc.c @@ -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; -- 2.26.2