diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2012-08-16 12:24:09 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-16 11:35:44 -0700 |
| commit | 02918c0066b1c990a4e60c0dd4702eb9639b760b (patch) | |
| tree | 685f0c39e9a052d41fc7c979a4e93eb7b2f15028 /include/linux | |
| parent | 409861ff73c1bde35993da3d2b976ec8b9c107ea (diff) | |
staging: comedi: amplc_pc236: check bus type in detach routine
When detaching the device in pc236_detach() mirror the bus type checks
performed by pc236_attach(). The existing tests are safe but rely on
dev->iobase being 0 when comedi_to_pci_dev(dev) is NULL.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
