staging: comedi: introduce 'comedi_board' helper function
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 27 Apr 2012 21:10:15 +0000 (14:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 01:37:49 +0000 (21:37 -0400)
commit37859f8893c00fe4baa95f61ba560b9990f59484
treec9cfb254f1bf12c6ae8bf2dc8e33e822edbbd7f6
parentd9a861d55e0cf60829956d7c6e18b7de0b02ab92
staging: comedi: introduce 'comedi_board' helper function

This helper function is used to fetch the comedi_device board_ptr
which is used during the attach to pass board specific information
to the comedi drivers.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedidev.h