Fix ref count problem in stealth mode. pci_get_subsys() with last parameter

set does the pci_dev_put for you.
This commit is contained in:
Jon Smirl 2004-09-02 04:11:27 +00:00
parent 244b3e6c7c
commit a070d15b53
2 changed files with 0 additions and 2 deletions

View file

@ -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);
}
}

View file

@ -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);
}
}