diff options
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r-- | drivers/net/tg3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index eafabb253f08..d6e2a6869f28 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -11819,7 +11819,7 @@ static struct pci_driver tg3_driver = { | |||
11819 | 11819 | ||
11820 | static int __init tg3_init(void) | 11820 | static int __init tg3_init(void) |
11821 | { | 11821 | { |
11822 | return pci_module_init(&tg3_driver); | 11822 | return pci_register_driver(&tg3_driver); |
11823 | } | 11823 | } |
11824 | 11824 | ||
11825 | static void __exit tg3_cleanup(void) | 11825 | static void __exit tg3_cleanup(void) |