summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
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);
}
}