summaryrefslogtreecommitdiff
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-11-02 19:17:57 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-06 09:28:57 +0100
commitb91524ee48771586b99bfbed9d4607c3e407d7cb (patch)
tree82268f0a3a18dfa365f62d5a735e603556fc813f /include/linux/stacktrace.h
parent15358a7f777529500cb1fcb089c09fb792fecf30 (diff)
staging: comedi: cb_pcidas64: use auto_attach method
This driver does not need to support manual attachment of supported PCI devices. Replace the `attach()` hook with an `auto_attach()` hook. This will be called via `comedi_pci_auto_config()` at PCI probe time. The `auto_attach()` calls new function `cb_pcidas64_find_pci_board()` to find the correct entry in `pcidas64_boards[]` for the PCI device. This driver no longer increments the PCI reference count during attachment, so remove the call to `pci_dev_put()` when detaching the device. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions