aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/card.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-08-18 16:44:15 -0700
committerTony Luck <tony.luck@intel.com>2005-08-18 16:44:15 -0700
commit4eaefb39528b3a78fb6a784162200b198d3e16ee (patch)
treeec16b8a3816b4658cb1191bf7a55859b86b209ea /drivers/pnp/card.c
parent3a931d4cca1b6dabe1085cc04e909575df9219ae (diff)
parent30d5b64b63fa69af31b2cba32e6d71d68526eec9 (diff)
Auto-update from upstream
Diffstat (limited to 'drivers/pnp/card.c')
-rw-r--r--drivers/pnp/card.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pnp/card.c b/drivers/pnp/card.c
index add12f7c489..6e5229e92fb 100644
--- a/drivers/pnp/card.c
+++ b/drivers/pnp/card.c
@@ -312,6 +312,8 @@ found:
if (drv->link.driver.probe) {
if (drv->link.driver.probe(&dev->dev)) {
dev->dev.driver = NULL;
+ dev->card_link = NULL;
+ up_write(&dev->dev.bus->subsys.rwsem);
return NULL;
}
}