staging: comedi: amplc_pc263: add helper functions to check bus type
authorIan Abbott <abbotti@mev.co.uk>
Thu, 16 Aug 2012 10:14:18 +0000 (11:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Aug 2012 18:33:16 +0000 (11:33 -0700)
commitd26769446f5389fa5dd5b8745ddc12d4371fc267
treebfd75fa3d29c65904ac21aa84180e34ae740b8f5
parent00d7a906cdd05b76b059102cacf98cfb853fa109
staging: comedi: amplc_pc263: add helper functions to check bus type

Add inline helper function is_isa_board(board) to check if the driver
supports ISA boards and this is an ISA board, and is_pci_board(board) to
check if the driver supports PCI boards and this is a PCI board.

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