aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pcmcia/nsp_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pcmcia/nsp_cs.c')
-rw-r--r--drivers/scsi/pcmcia/nsp_cs.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c
index 9e3ab3fd5355..dd383c538d98 100644
--- a/drivers/scsi/pcmcia/nsp_cs.c
+++ b/drivers/scsi/pcmcia/nsp_cs.c
@@ -1974,16 +1974,9 @@ static void nsp_cs_release(dev_link_t *link)
1974 if (data != NULL) { 1974 if (data != NULL) {
1975 iounmap((void *)(data->MmioAddress)); 1975 iounmap((void *)(data->MmioAddress));
1976 } 1976 }
1977 pcmcia_release_window(link->win);
1978 } 1977 }
1979 pcmcia_release_configuration(link->handle); 1978 pcmcia_disable_device(link->handle);
1980 if (link->io.NumPorts1) { 1979
1981 pcmcia_release_io(link->handle, &link->io);
1982 }
1983 if (link->irq.AssignedIRQ) {
1984 pcmcia_release_irq(link->handle, &link->irq);
1985 }
1986 link->state &= ~DEV_CONFIG;
1987#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,2)) 1980#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,2))
1988 if (info->host != NULL) { 1981 if (info->host != NULL) {
1989 scsi_host_put(info->host); 1982 scsi_host_put(info->host);