From: Bartlomiej Zolnierkiewicz Date: Wed, 12 Dec 2007 22:31:57 +0000 (+0100) Subject: ide: fix ide_scan_pcibus() error message X-Git-Tag: v2.6.24-rc6~61^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=125a8191dcbc927441263a332826989cc2925681;p=platform%2Fupstream%2Fkernel-adaptation-pc.git ide: fix ide_scan_pcibus() error message Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c index 25fd090..708e01d 100644 --- a/drivers/ide/setup-pci.c +++ b/drivers/ide/setup-pci.c @@ -794,9 +794,10 @@ void __init ide_scan_pcibus (int scan_direction) list_for_each_safe(l, n, &ide_pci_drivers) { list_del(l); d = list_entry(l, struct pci_driver, node); - 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); + if (__pci_register_driver(d, d->driver.owner, + d->driver.mod_name)) + printk(KERN_ERR "%s: failed to register %s driver\n", + __FUNCTION__, d->driver.mod_name); } } #endif