aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 7b7428c77d7a..0f98cab35186 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -476,6 +476,8 @@ static int pcmcia_device_remove(struct device * dev)
476 if (p_drv->remove) 476 if (p_drv->remove)
477 p_drv->remove(p_dev); 477 p_drv->remove(p_dev);
478 478
479 p_dev->dev_node = NULL;
480
479 /* check for proper unloading */ 481 /* check for proper unloading */
480 if (p_dev->_irq || p_dev->_io || p_dev->_locked) 482 if (p_dev->_irq || p_dev->_io || p_dev->_locked)
481 printk(KERN_INFO "pcmcia: driver %s did not release config properly\n", 483 printk(KERN_INFO "pcmcia: driver %s did not release config properly\n",