]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: comedi: amplc_dio200: add helper macros to check bus type
authorIan Abbott <abbotti@mev.co.uk>
Tue, 14 Aug 2012 15:31:28 +0000 (16:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Aug 2012 23:46:34 +0000 (16:46 -0700)
commit858c8ada41c5ff9700f23c6b41adb9586f2983b8
tree67391cebb2c3a7d745aa602f7c94606bc766ba76
parentb7518888afc14e3d1e988837fef4471cd2b3c820
staging: comedi: amplc_dio200: add helper macros to check bus type

Add helper macro 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_dio200.c