[PATCH] sky2: use pci_register_driver

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>
This commit is contained in:
shemminger@osdl.org 2005-11-30 11:45:22 -08:00 committed by Jeff Garzik
parent af4ed7e6ba
commit 50241c4c59

View File

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