Skip to content

Commit

Permalink
[PATCH] pci_module_init convertion in ata_generic.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henrik Kretzschmar authored and Jeff Garzik committed Dec 2, 2006
1 parent 7e45b0e commit 3f03c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ata_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 3f03c67

Please sign in to comment.