projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af4ed7e
)
[PATCH] sky2: use pci_register_driver
author
shemminger@osdl.org
<shemminger@osdl.org>
Wed, 30 Nov 2005 19:45:22 +0000
(11:45 -0800)
committer
Jeff Garzik
<jgarzik@pobox.com>
Thu, 1 Dec 2005 07:20:21 +0000
(
02:20
-0500)
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>
drivers/net/sky2.c
patch
|
blob
|
history
diff --git
a/drivers/net/sky2.c
b/drivers/net/sky2.c
index c6c3275fc5edd54866596b19aabd9323a03bbb67..aa79ad4376dd49d41c2411e68779818450721c5d 100644
(file)
--- 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)