]> Pileus Git - ~andy/linux/commit
staging: comedi: das08: Add helper functions to check bus type
authorIan Abbott <abbotti@mev.co.uk>
Fri, 31 Aug 2012 19:41:48 +0000 (20:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 19:00:42 +0000 (12:00 -0700)
commit9bfdd96262335949d08507f97e7d10f60314c26e
tree1ce735a4f68320a163dc21455e71a53139af9443
parent7c2b231520836df359f83e819ffeba4f5e0e23ad
staging: comedi: das08: 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/das08.c