[PATCH] pci_module_init() conversion for pata_pdc2027x
Henrik Kretzschmar [Tue, 10 Oct 2006 21:29:24 +0000 (14:29 -0700)]
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 beb6d10..ef85429 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);
 }
 
 /**