commit | ddb01367b85df2c4c773bde047e5b04b6de1835b | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hartleys@visionengravers.com> | Thu Jul 19 10:39:33 2012 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jul 19 16:19:39 2012 -0700 |
tree | 5a8155b7421792c9027793918e0691985acbf16a | |
parent | 289a64295c9ae897c18302c15abd8f0464e8c6cb [diff] |
staging: comedi: comedidev.h: introduce comedi_to_pci_dev() helper Introduce a wrapper for to_pci_dev() to allow the comedi_pci_drivers to store the pci_dev pointer in the comedi_device hw_dev variable and retrieve it easily. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbot <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>