[PATCH] pci_module_init() conversion for pata_pdc2027x
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Tue, 10 Oct 2006 21:29:24 +0000 (14:29 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:40:25 +0000 (22:40 -0500)
pci_module_init() conversion for pata_pdc2027x

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

index beb6d10a234ba921cc55a6c2ffe032f7361fbeb1..ef854299989c861f66facb80c621d6335d0ebf0c 100644 (file)
@@ -854,7 +854,7 @@ static void __devexit pdc2027x_remove_one(struct pci_dev *pdev)
  */
 static int __init pdc2027x_init(void)
 {
-       return pci_module_init(&pdc2027x_pci_driver);
+       return pci_register_driver(&pdc2027x_pci_driver);
 }
 
 /**