mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
staging: comedi: addi_apci_1032: remove len_chanlist on di subdevice
This value is only needed for subdevices that support async commands. The comedi core will default the value to 1 when it is not initialized. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4cde0a6d51
commit
39c2ec30c2
1 changed files with 0 additions and 1 deletions
|
|
@ -284,7 +284,6 @@ static int apci1032_attach_pci(struct comedi_device *dev,
|
|||
s->subdev_flags = SDF_READABLE;
|
||||
s->n_chan = 32;
|
||||
s->maxdata = 1;
|
||||
s->len_chanlist = 32;
|
||||
s->range_table = &range_digital;
|
||||
s->insn_bits = apci1032_di_insn_bits;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue