[PATCH] pci_module_init convertion in ata_generic.c

pci_module_init convertion in ata_generic.c.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Henrik Kretzschmar 2006-10-10 14:28:12 -07:00 committed by Jeff Garzik
parent 7e45b0e5f6
commit 3f03c6713a

View file

@ -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);
}