commit | 000e2635028bf8a1537383c5c27bf1bff27bc2f6 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Wed Jul 18 18:43:18 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 19 16:32:54 2012 -0700 |
tree | 0fcb6551c5569ff8473842200358862fd9def52f | |
parent | 88262703416be01d6770fbf55737e73edb60ee16 [diff] |
staging: comedi: cb_pcidas64: store the pci_dev in the comedi_device Use the hw_dev pointer in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Save the pci bar in dev->iobase so the detach is consistent with the other comedi pci drivers. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>