summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-10-08 14:31:25 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-10-08 14:31:25 +0000
commit3981f17227aa72b263d27e79aede307b1e2980a8 (patch)
treecc20e9d0b94c508f8c93f88f7fbfbafa967f5300 /linux-core
parent6619c5d941b86452405222a5b44a546dd0aa45c7 (diff)
Fix refcount bug in stealth mode
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 81ec1c76..8ca3524c 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -369,6 +369,7 @@ int drm_init(struct pci_driver *driver,
pid->subvendor, pid->subdevice,
pdev))) {
/* stealth mode requires a manual probe */
+ pci_dev_get(pdev);
drm_probe(pdev, &pciidlist[i], driver_fn);
}
}