]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: daqboard2000: add back subsystem_device check
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 20 Jul 2012 17:32:10 +0000 (10:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Aug 2012 00:14:53 +0000 (17:14 -0700)
commit4c51ea56324b1084a6359c361087f8f384a2086b
tree79a35f9fbe93825042a61fa6079e33204f8d21cf
parente6a5a461f166650e0d427fe1df4b295ca59b2c62
staging: comedi: daqboard2000: add back subsystem_device check

As mentioned by Ian Abbott, this driver originally checked
the pci_dev subsystem_device in order to make sure that the
pci_dev was compatible with this driver. The cleanup of the
"find pci device" code removed this check. Add it back.

Reported-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/daqboard2000.c