diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-05-29 14:49:35 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-04 20:46:58 -0700 |
| commit | 18e41de083075b3b6a0bd55e00f1662d045efb49 (patch) | |
| tree | 19fa5ff220b06107a9521df8e7112ad491b3d113 /include/linux/node.h | |
| parent | 24ffe74c93ac93bae84b2e44b868bbfd2c7954c3 (diff) | |
staging: comedi: amplc_pc236: Add attach_pci() hook
Implement the attach_pci() hook as function pc236_attach_pci(). This is
called bu comedi_pci_auto_config() in preference to the old attach()
hook (implemented by pc236_attach()) and avoids searching for the probed
PCI device.
Factor out code common to pc236_find_pci() and pc236_attach_pci() into
new function pc236_find_pci_board(). Factor out most code common to
pc236_attach() and pc236_attach_pci() into new functions
pc236_pci_common_attach() and pc236_common_attach().
Also #if out member 'devid' from struct pc236_board unless PCI boards
are supported as it is not used for ISA boards.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions
