From: shemminger@osdl.org Date: Wed, 30 Nov 2005 19:45:22 +0000 (-0800) Subject: [PATCH] sky2: use pci_register_driver X-Git-Tag: firefly_0821_release~38905^2~16^2~32^2~71 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=50241c4c59453fae01555f67daa96d799d85b968;p=firefly-linux-kernel-4.4.55.git [PATCH] sky2: use pci_register_driver Switch to using pci_register_driver as per current convention. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index c6c3275fc5ed..aa79ad4376dd 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -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)