staging: comedi: das08: Add attach_pci() hook
authorIan Abbott <abbotti@mev.co.uk>
Thu, 24 May 2012 16:27:18 +0000 (17:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:39:39 +0000 (20:39 -0700)
commit8b7d417c406bafacedeae6cc3e110b11640d14e5
tree436240a798795fe6b5ce52d21a2baf9d573db236
parentf86b0d7da3ab15f73723d98f6685d6d8ef48c166
staging: comedi: das08: Add attach_pci() hook

Implement the attach_pci() hook.  This is called by
comedi_pci_auto_config() in preference to the old attach() hook and
avoids searching for the probed PCI device.  Factor out some common code
used by both the attach() and attach_pci() hooks into a couple of new
functions, das08_pci_attach_common() and das08_find_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
This page took 0.026981 seconds and 5 git commands to generate.