ide: fix ide_scan_pcibus() error message
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
46255d4083
commit
125a8191dc
|
@ -794,9 +794,10 @@ void __init ide_scan_pcibus (int scan_direction)
|
||||||
list_for_each_safe(l, n, &ide_pci_drivers) {
|
list_for_each_safe(l, n, &ide_pci_drivers) {
|
||||||
list_del(l);
|
list_del(l);
|
||||||
d = list_entry(l, struct pci_driver, node);
|
d = list_entry(l, struct pci_driver, node);
|
||||||
if (__pci_register_driver(d, d->driver.owner, d->driver.mod_name))
|
if (__pci_register_driver(d, d->driver.owner,
|
||||||
printk(KERN_ERR "%s: failed to register driver for %s\n",
|
d->driver.mod_name))
|
||||||
__FUNCTION__, d->driver.mod_name);
|
printk(KERN_ERR "%s: failed to register %s driver\n",
|
||||||
|
__FUNCTION__, d->driver.mod_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue