From 825423e4c4f18289df2393951cfd2a7a31fc0464 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 31 Jan 2001 22:22:27 +0000 Subject: Merge with Linux 2.4.1. --- drivers/net/dmfe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/net/dmfe.c') diff --git a/drivers/net/dmfe.c b/drivers/net/dmfe.c index 481b28700..b160afd78 100644 --- a/drivers/net/dmfe.c +++ b/drivers/net/dmfe.c @@ -1596,10 +1596,10 @@ static int __init dmfe_init_module(void) break; } - rc = pci_register_driver(&dmfe_driver); + rc = pci_module_init(&dmfe_driver); if (rc < 0) return rc; - if (rc > 0) { + if (rc >= 0) { printk (KERN_INFO "Davicom DM91xx net driver loaded, version " DMFE_VERSION "\n"); return 0; -- cgit v1.2.3