summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_drv.h1
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]));
}
}