diff options
Diffstat (limited to 'drivers/net/pcmcia/nmclan_cs.c')
-rw-r--r-- | drivers/net/pcmcia/nmclan_cs.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c index 787176c57fd9..76ef453d172d 100644 --- a/drivers/net/pcmcia/nmclan_cs.c +++ b/drivers/net/pcmcia/nmclan_cs.c | |||
@@ -765,14 +765,8 @@ nmclan_release | |||
765 | ---------------------------------------------------------------------------- */ | 765 | ---------------------------------------------------------------------------- */ |
766 | static void nmclan_release(dev_link_t *link) | 766 | static void nmclan_release(dev_link_t *link) |
767 | { | 767 | { |
768 | 768 | DEBUG(0, "nmclan_release(0x%p)\n", link); | |
769 | DEBUG(0, "nmclan_release(0x%p)\n", link); | 769 | pcmcia_disable_device(link->handle); |
770 | |||
771 | pcmcia_release_configuration(link->handle); | ||
772 | pcmcia_release_io(link->handle, &link->io); | ||
773 | pcmcia_release_irq(link->handle, &link->irq); | ||
774 | |||
775 | link->state &= ~DEV_CONFIG; | ||
776 | } | 770 | } |
777 | 771 | ||
778 | static int nmclan_suspend(struct pcmcia_device *p_dev) | 772 | static int nmclan_suspend(struct pcmcia_device *p_dev) |