summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-02 04:11:27 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-02 04:11:27 +0000
commita070d15b530da87b835f4a439886eea3c606ac2f (patch)
treefba6850a803d5422dad647eeffe466226a1c0164 /linux-core
parent244b3e6c7cf61d3de56267e5813b0a1821ca0ac0 (diff)
Fix ref count problem in stealth mode. pci_get_subsys() with last parameter
set does the pci_dev_put for you.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_drv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index 69d3003c..8f42e357 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -627,7 +627,6 @@ static int __init drm_init( void )
}
/* no fbdev or vesadev, put things back and wait for normal probe */
pci_release_regions(pdev);
- pci_dev_put(pdev);
}
}