From: Henrik Kretzschmar Date: Tue, 10 Oct 2006 21:29:24 +0000 (-0700) Subject: [PATCH] pci_module_init() conversion for pata_pdc2027x X-Git-Tag: v2.6.20-rc2~6^2~13^2~14^2~77 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=72dc6794fcd7642200a87bf18e3a43e676314b63;p=linux-2.6-omap-h63xx.git [PATCH] pci_module_init() conversion for pata_pdc2027x pci_module_init() conversion for pata_pdc2027x Signed-off-by: Henrik Kretzschmar Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c index beb6d10a234..ef854299989 100644 --- a/drivers/ata/pata_pdc2027x.c +++ b/drivers/ata/pata_pdc2027x.c @@ -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); } /**