aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia/cm4040_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pcmcia/cm4040_cs.c')
-rw-r--r--drivers/char/pcmcia/cm4040_cs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/pcmcia/cm4040_cs.c b/drivers/char/pcmcia/cm4040_cs.c
index 466e33bab029..1c355bd2be88 100644
--- a/drivers/char/pcmcia/cm4040_cs.c
+++ b/drivers/char/pcmcia/cm4040_cs.c
@@ -654,8 +654,7 @@ static int reader_resume(struct pcmcia_device *p_dev)
654static void reader_release(dev_link_t *link) 654static void reader_release(dev_link_t *link)
655{ 655{
656 cm4040_reader_release(link->priv); 656 cm4040_reader_release(link->priv);
657 pcmcia_release_configuration(link->handle); 657 pcmcia_disable_device(link->handle);
658 pcmcia_release_io(link->handle, &link->io);
659} 658}
660 659
661static int reader_attach(struct pcmcia_device *p_dev) 660static int reader_attach(struct pcmcia_device *p_dev)