diff options
author | shemminger@osdl.org <shemminger@osdl.org> | 2005-11-30 14:45:22 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-12-01 02:20:21 -0500 |
commit | 50241c4c59453fae01555f67daa96d799d85b968 (patch) | |
tree | ae9183867f950b531ceb2837cc5575b27c3632d0 | |
parent | af4ed7e6ba0cba388cf691f3a330089bd46e4d9e (diff) |
[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>
-rw-r--r-- | drivers/net/sky2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { | |||
3106 | 3106 | ||
3107 | static int __init sky2_init_module(void) | 3107 | static int __init sky2_init_module(void) |
3108 | { | 3108 | { |
3109 | return pci_module_init(&sky2_driver); | 3109 | return pci_register_driver(&sky2_driver); |
3110 | } | 3110 | } |
3111 | 3111 | ||
3112 | static void __exit sky2_cleanup_module(void) | 3112 | static void __exit sky2_cleanup_module(void) |