diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2012-10-31 11:56:23 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-31 15:14:41 -0700 |
commit | 5df395404b43cfd111c36822b2e691619a408024 (patch) | |
tree | fcf890cf5db678314f93ed06712b1d7b4608d62c /drivers/staging/ozwpan/ozhcd.c | |
parent | 01e14a4c586ffc6e1c7b748eb8354806ccfec813 (diff) |
staging: comedi: rtd520: use auto_attach instead of attach_pci
Change the rtd520 driver to use the new `auto_attach()` method in
`struct comedi_driver` instead of the `attach_pci()` method. I plan to
remove the `attach_pci()` and `attach_usb()` methods once nothing is
using them.
Tag the new `rtd520_auto_attach()` function definition with `__devinit`
as it is only called during PCI probe.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozhcd.c')
0 files changed, 0 insertions, 0 deletions