diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-05-30 19:04:45 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-04 20:48:08 -0700 |
| commit | d8967b6ed676c697da3c05ab917a8eaae7a14f81 (patch) | |
| tree | dbd671ff21ca6635211a69f55995d690fc80b01b /include | |
| parent | 04d66968b34e3e22a524064df387c9fe906c6efa (diff) | |
staging: comedi: amplc_pc263: Add attach_pci() hook
Implement the attach_pci() hook as function pc263_attach_pci(). This is
called bu comedi_pci_auto_config() in preference to the old attach()
hook (implemented by pc263_attach()) and avoids searching for the probed
PCI device.
Factor out code common to pc263_find_pci() and pc263_attach_pci() into
new function pc263_find_pci_board(). Factor out most code common to
pc263_attach() and pc263_attach_pci() into new functions
pc263_pci_common_attach() and pc263_common_attach().
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
