aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/telephony/ixj_pcmcia.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/telephony/ixj_pcmcia.c')
-rw-r--r--drivers/telephony/ixj_pcmcia.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/telephony/ixj_pcmcia.c b/drivers/telephony/ixj_pcmcia.c
index d3a7b0c3d38b..fe3cde0da84a 100644
--- a/drivers/telephony/ixj_pcmcia.c
+++ b/drivers/telephony/ixj_pcmcia.c
@@ -229,10 +229,7 @@ static void ixj_cs_release(dev_link_t *link)
229 ixj_info_t *info = link->priv; 229 ixj_info_t *info = link->priv;
230 DEBUG(0, "ixj_cs_release(0x%p)\n", link); 230 DEBUG(0, "ixj_cs_release(0x%p)\n", link);
231 info->ndev = 0; 231 info->ndev = 0;
232 link->dev = NULL; 232 pcmcia_disable_device(link->handle);
233 pcmcia_release_configuration(link->handle);
234 pcmcia_release_io(link->handle, &link->io);
235 link->state &= ~DEV_CONFIG;
236} 233}
237 234
238static int ixj_suspend(struct pcmcia_device *dev) 235static int ixj_suspend(struct pcmcia_device *dev)