aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/via-velocity.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/via-velocity.c')
-rw-r--r--drivers/net/via-velocity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c
index 35940ac0ff02..f23d207ad3fc 100644
--- a/drivers/net/via-velocity.c
+++ b/drivers/net/via-velocity.c
@@ -2248,7 +2248,7 @@ static int __init velocity_init_module(void)
2248 int ret; 2248 int ret;
2249 2249
2250 velocity_register_notifier(); 2250 velocity_register_notifier();
2251 ret = pci_module_init(&velocity_driver); 2251 ret = pci_register_driver(&velocity_driver);
2252 if (ret < 0) 2252 if (ret < 0)
2253 velocity_unregister_notifier(); 2253 velocity_unregister_notifier();
2254 return ret; 2254 return ret;