From: Henrik Kretzschmar Date: Tue, 10 Oct 2006 21:29:24 +0000 (-0700) Subject: [PATCH] pci_module_init() conversion for pata_pdc2027x X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=72dc6794fcd7642200a87bf18e3a43e676314b63;p=openwrt%2Fstaging%2Fblogic.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 beb6d10a234b..ef854299989c 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); } /**