diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-07-18 18:32:01 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-19 16:19:42 -0700 |
| commit | 5f5d1b9ac13d44f370a3f7ebfc624b7f6cca4c19 (patch) | |
| tree | 89337450ced31e9c665a58cfd48cbd9b733f34b0 /tools/perf/scripts/python/sctop.py | |
| parent | 5aa53d5f2e9cf38112b8087ead926fcaacaa5abe (diff) | |
staging: comedi: adv_pci1710: move comedi_pci_enable() into the attach
Use pci_is_enabled() in the "find pci device" function to determine if
the found pci device is not in use and move the comedi_pci_enable() call
into the attach.
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>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
