]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: ni_65xx: add ni_65xx_num_ports()
authorIan Abbott <abbotti@mev.co.uk>
Wed, 23 Jul 2014 09:41:18 +0000 (10:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 22:01:24 +0000 (15:01 -0700)
commit6f657e676449811a29bd933072aedb984439a861
tree1932b4f3b2fb9f8b99c24503b0aff758a665b59b
parent35586f0c26e3fe20031fe0c618d6fce8edef5063
staging: comedi: ni_65xx: add ni_65xx_num_ports()

Add a function to return the total number of digital I/O, digital input,
and digital output ports on the board.  Each port has 8 channels (bits).

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