staging: comedi: addi_apci_2032: correct interrupt subdevice
authorIan Abbott <abbotti@mev.co.uk>
Mon, 3 Dec 2012 18:15:41 +0000 (18:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 22:10:01 +0000 (14:10 -0800)
commitb82fe57c4d059a8ff1190ead1693d66b868353b2
tree8cbe45ad930448961361ceed24c3810eeb1cfa27
parent0774c2b5c1e0025cb016393d8552171c0ec55c39
staging: comedi: addi_apci_2032: correct interrupt subdevice

The subdevice type and flags are initialized incorrectly for the
interrupt subdevice - the SDF_CMD_READ value belongs in the subdevice
flags.  Fix it.  Also set the number of channels to 2 since there are 2
interrupt sources each with its own status bit.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi_apci_2032.c