staging: comedi: amplc_dio200: add helpers to get board layout
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:47:53 +0000 (16:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:11 +0000 (15:25 -0700)
commita56a8a3c4979b0c968a53ab9cdbf6887e8e6ba1e
tree484fde0142967ad662b4fda3d9a42e93156aa41e
parent4821bdfc9c39349f97e9c604992aafd55f45255a
staging: comedi: amplc_dio200: add helpers to get board layout

Add inline helper function `dio200_board_layout(board)` to get a pointer
to the board layout data for a board.  Add inline helper function
`dio200_dev_layout(dev)` to get a pointer to the board layout data for a
comedi device (this function is currently unused but will be used by a
later change).

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