From a070d15b530da87b835f4a439886eea3c606ac2f Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 2 Sep 2004 04:11:27 +0000 Subject: Fix ref count problem in stealth mode. pci_get_subsys() with last parameter set does the pci_dev_put for you. --- linux/drm_drv.h | 1 - 1 file changed, 1 deletion(-) (limited to 'linux') diff --git a/linux/drm_drv.h b/linux/drm_drv.h index 69d3003c..8f42e357 100644 --- a/linux/drm_drv.h +++ b/linux/drm_drv.h @@ -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); } } -- cgit v1.2.3