Skip to content

Commit

Permalink
[PATCH] pci_module_init() conversion for pata_pdc2027x
Browse files Browse the repository at this point in the history
pci_module_init() conversion for pata_pdc2027x

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Alan Cox <alan@redhat.com>
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 fc08515 commit 72dc679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_pdc2027x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 72dc679

Please sign in to comment.