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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3f03c6713a4adfae058f4f1db5acde393db44ec0;p=linux-beck.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 4a80ff9312b8..a44c20c0c757 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); }