diff options
Diffstat (limited to 'drivers/scsi/pcmcia/aha152x_stub.c')
-rw-r--r-- | drivers/scsi/pcmcia/aha152x_stub.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/scsi/pcmcia/aha152x_stub.c b/drivers/scsi/pcmcia/aha152x_stub.c index 5609847e254a..e7f9d26a0d7c 100644 --- a/drivers/scsi/pcmcia/aha152x_stub.c +++ b/drivers/scsi/pcmcia/aha152x_stub.c | |||
@@ -248,13 +248,7 @@ static void aha152x_release_cs(dev_link_t *link) | |||
248 | scsi_info_t *info = link->priv; | 248 | scsi_info_t *info = link->priv; |
249 | 249 | ||
250 | aha152x_release(info->host); | 250 | aha152x_release(info->host); |
251 | link->dev = NULL; | 251 | pcmcia_disable_device(link->handle); |
252 | |||
253 | pcmcia_release_configuration(link->handle); | ||
254 | pcmcia_release_io(link->handle, &link->io); | ||
255 | pcmcia_release_irq(link->handle, &link->irq); | ||
256 | |||
257 | link->state &= ~DEV_CONFIG; | ||
258 | } | 252 | } |
259 | 253 | ||
260 | static int aha152x_suspend(struct pcmcia_device *dev) | 254 | static int aha152x_suspend(struct pcmcia_device *dev) |