From: David Schleef Date: Mon, 5 Feb 2001 18:09:11 +0000 (+0000) Subject: change to len_chanlist X-Git-Tag: r0_7_57~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff3d161fb8a984ac9e8d5a21a61da9bbe2c20a46;p=comedi.git change to len_chanlist --- 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;