Skip to content

Commit

Permalink
[PATCH] sky2: use pci_register_driver
Browse files Browse the repository at this point in the history
Switch to using pci_register_driver as per current convention.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
shemminger@osdl.org authored and Jeff Garzik committed Dec 1, 2005
1 parent af4ed7e commit 50241c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3106,7 +3106,7 @@ static struct pci_driver sky2_driver = {

static int __init sky2_init_module(void)
{
return pci_module_init(&sky2_driver);
return pci_register_driver(&sky2_driver);
}

static void __exit sky2_cleanup_module(void)
Expand Down

0 comments on commit 50241c4

Please sign in to comment.