summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-12 22:16:36 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-13 20:26:06 +0300
commit6db70e3934c02c76f85c128e01585d8b6a8fbe61 (patch)
tree32ea05001e809851f9248c9e3cbe52e1dc0590c3 /include/linux
parentee4c7709fbb29860c3200b1296a18adff01d2307 (diff)
downloadlinux-6db70e3934c02c76f85c128e01585d8b6a8fbe61.tar.xz
staging: comedi: aio_aio12_8: refactor boardininfo
This driver supports three board types with these differences: 104-AIO12-8 - eight 12-bit analog in, four 12-bit analog out 104-AI12-8 - eight 12-bit analog in 104-AO12-4 - four 12-bit analog out Convert the boardinfo 'ai_nchan' and 'ao_nchan' into bit-field flags 'has_ai' and 'has_ao' so save a bit of space. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions