[PATCH] pci_module_init convertion in ata_generic.c
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Tue, 10 Oct 2006 21:28:12 +0000 (14:28 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:40:25 +0000 (22:40 -0500)
pci_module_init convertion in ata_generic.c.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ata_generic.c

index 4a80ff9312b8c313ace7277619db1ad3445c778e..a44c20c0c7571bf1405da2916da032f71d77cc08 100644 (file)
@@ -231,7 +231,7 @@ static struct pci_driver ata_generic_pci_driver = {
 
 static int __init ata_generic_init(void)
 {
-       return pci_module_init(&ata_generic_pci_driver);
+       return pci_register_driver(&ata_generic_pci_driver);
 }