diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-10-08 14:31:25 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-10-08 14:31:25 +0000 |
commit | 3981f17227aa72b263d27e79aede307b1e2980a8 (patch) | |
tree | cc20e9d0b94c508f8c93f88f7fbfbafa967f5300 /linux | |
parent | 6619c5d941b86452405222a5b44a546dd0aa45c7 (diff) |
Fix refcount bug in stealth mode
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drm_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drm_drv.h b/linux/drm_drv.h index 00761eb3..6d698393 100644 --- a/linux/drm_drv.h +++ b/linux/drm_drv.h @@ -565,6 +565,7 @@ static int __init drm_init( void ) /* pass back in pdev to account for multiple identical cards */ while ((pdev = pci_get_subsys(pid->vendor, pid->device, pid->subvendor, pid->subdevice, pdev))) { /* stealth mode requires a manual probe */ + pci_dev_get(pdev); DRM(probe)(pdev, &DRM(pciidlist[i])); } } |