Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58189
b: refs/heads/master
c: d61bcce
h: refs/heads/master
i:
  58187: df0dcae
v: v3
  • Loading branch information
Andrew Morton authored and Bartlomiej Zolnierkiewicz committed Jul 3, 2007
1 parent 15cf223 commit 8e43d1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8006bf56e360a4db71d304df778870a371a9e930
refs/heads/master: d61bcce9c1aa2c9f8a768d73c4c517f81d226725
10 changes: 7 additions & 3 deletions trunk/drivers/ide/setup-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,11 +872,15 @@ void __init ide_scan_pcibus (int scan_direction)
* are post init.
*/

list_for_each_safe(l, n, &ide_pci_drivers)
{
list_for_each_safe(l, n, &ide_pci_drivers) {
list_del(l);
d = list_entry(l, struct pci_driver, node);
__pci_register_driver(d, d->driver.owner, d->driver.mod_name);
if (__pci_register_driver(d, d->driver.owner,
d->driver.mod_name)) {
printk(KERN_ERR "%s: failed to register driver "
"for %s\n", __FUNCTION__,
d->driver.mod_name);
}
}
}
#endif

0 comments on commit 8e43d1c

Please sign in to comment.