diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-15 04:05:19 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:15:51 -0500 |
commit | 50db3fdbbc98260fb538c1cc3f8cc597ba7bffe7 (patch) | |
tree | a3cd6076787d9c55467fcc598c997726315f80d1 /drivers/scsi/pcmcia | |
parent | 5f2a71fcb7995633b335a1e380ac63a968e61320 (diff) |
[PATCH] pcmcia: convert remaining users of pcmcia_release_io and _irq
Convert the remaining drivers which use pcmcia_release_io or
pcmcia_release_irq, and remove the EXPORT of these symbols.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/scsi/pcmcia')
-rw-r--r-- | drivers/scsi/pcmcia/nsp_cs.c | 5 | ||||
-rw-r--r-- | drivers/scsi/pcmcia/qlogic_stub.c | 7 |
2 files changed, 2 insertions, 10 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index dd383c538d98..d469e0d16224 100644 --- a/drivers/scsi/pcmcia/nsp_cs.c +++ b/drivers/scsi/pcmcia/nsp_cs.c | |||
@@ -1802,10 +1802,7 @@ static void nsp_cs_config(dev_link_t *link) | |||
1802 | 1802 | ||
1803 | next_entry: | 1803 | next_entry: |
1804 | nsp_dbg(NSP_DEBUG_INIT, "next"); | 1804 | nsp_dbg(NSP_DEBUG_INIT, "next"); |
1805 | 1805 | pcmcia_disable_device(handle); | |
1806 | if (link->io.NumPorts1) { | ||
1807 | pcmcia_release_io(link->handle, &link->io); | ||
1808 | } | ||
1809 | CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(handle, &tuple)); | 1806 | CS_CHECK(GetNextTuple, pcmcia_get_next_tuple(handle, &tuple)); |
1810 | } | 1807 | } |
1811 | 1808 | ||
diff --git a/drivers/scsi/pcmcia/qlogic_stub.c b/drivers/scsi/pcmcia/qlogic_stub.c index 70269fc10f30..1e27059cd462 100644 --- a/drivers/scsi/pcmcia/qlogic_stub.c +++ b/drivers/scsi/pcmcia/qlogic_stub.c | |||
@@ -288,12 +288,7 @@ out: | |||
288 | 288 | ||
289 | cs_failed: | 289 | cs_failed: |
290 | cs_error(link->handle, last_fn, last_ret); | 290 | cs_error(link->handle, last_fn, last_ret); |
291 | link->dev = NULL; | 291 | pcmcia_disable_device(link->handle); |
292 | |||
293 | pcmcia_release_configuration(link->handle); | ||
294 | pcmcia_release_io(link->handle, &link->io); | ||
295 | pcmcia_release_irq(link->handle, &link->irq); | ||
296 | link->state &= ~DEV_CONFIG; | ||
297 | return; | 292 | return; |
298 | 293 | ||
299 | } /* qlogic_config */ | 294 | } /* qlogic_config */ |