From: Henrik Kretzschmar Date: Tue, 10 Oct 2006 21:28:12 +0000 (-0700) Subject: [PATCH] pci_module_init convertion in ata_generic.c X-Git-Tag: v2.6.20-rc2~6^2~13^2~14^2~80 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3f03c6713a4adfae058f4f1db5acde393db44ec0;p=linux-2.6-omap-h63xx.git [PATCH] pci_module_init convertion in ata_generic.c pci_module_init convertion in ata_generic.c. Signed-off-by: Henrik Kretzschmar Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c index 4a80ff9312b..a44c20c0c75 100644 --- a/drivers/ata/ata_generic.c +++ b/drivers/ata/ata_generic.c @@ -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); }