Place the call to adjust_pci_device() back in the individual drivers,

since we probably shouldn't be doing this to arbitrary devices during a
PCI bus scan...
This commit is contained in:
Michael Brown
2005-04-16 17:30:37 +00:00
parent b7c55c3951
commit 5ca20abf95
9 changed files with 16 additions and 6 deletions

View File

@@ -185,9 +185,6 @@ int find_pci_device ( struct pci_device *pci,
continue;
}
/* Fix up PCI device */
adjust_pci_device ( pci );
/* If driver has a class, and class matches, use it */
if ( driver->class &&
( driver->class == pci->class ) ) {