diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-11-01 22:34:38 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-01 23:35:57 +0400 |
| commit | ed610aa04c283e1dbe4de769a58fec27b1259d3d (patch) | |
| tree | 9b38939b5f5fcd510a90c772b6d55617de3ab92a /include/linux/stacktrace.h | |
| parent | 19d6ce544631bd6cc1649696423715c7142e85b8 (diff) | |
| download | linux-ed610aa04c283e1dbe4de769a58fec27b1259d3d.tar.xz | |
staging: comedi: jr3_pci: remove devpriv->pci_enabled
The `pci_enabled` member of `struct jr3_pci_dev_private` is used to
indicate whether the call to `comedi_pci_enable()` was successful. The
'detach' routine `jr3_pci_detach()` uses this to decide whether to call
`comedi_pci_disable()`. The `iobase` member of `struct comedi_device`
is not used by this driver so it can be used for the same purpose.
Remove the `pci_enabled` member and use the spare `dev->iobase` instead.
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
