summaryrefslogtreecommitdiffstats
path: root/drivers/net/dmfe.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-01-31 22:22:27 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-01-31 22:22:27 +0000
commit825423e4c4f18289df2393951cfd2a7a31fc0464 (patch)
tree4ad80e981c3d9effa910d2247d118d254f9a5d09 /drivers/net/dmfe.c
parentc4693dc4856ab907a5c02187a8d398861bebfc7e (diff)
Merge with Linux 2.4.1.
Diffstat (limited to 'drivers/net/dmfe.c')
-rw-r--r--drivers/net/dmfe.c4
1 files changed, 2 insertions, 2 deletions
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;