diff options
Diffstat (limited to 'drivers/net/via-velocity.c')
-rw-r--r-- | drivers/net/via-velocity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index aa9cd92f46b2..e266db1518e7 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -2250,7 +2250,7 @@ static int __init velocity_init_module(void) | |||
2250 | int ret; | 2250 | int ret; |
2251 | 2251 | ||
2252 | velocity_register_notifier(); | 2252 | velocity_register_notifier(); |
2253 | ret = pci_module_init(&velocity_driver); | 2253 | ret = pci_register_driver(&velocity_driver); |
2254 | if (ret < 0) | 2254 | if (ret < 0) |
2255 | velocity_unregister_notifier(); | 2255 | velocity_unregister_notifier(); |
2256 | return ret; | 2256 | return ret; |