summaryrefslogtreecommitdiffstats
path: root/drivers/net/de620.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
commit6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch)
tree0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /drivers/net/de620.c
parentecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff)
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
Diffstat (limited to 'drivers/net/de620.c')
-rw-r--r--drivers/net/de620.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/de620.c b/drivers/net/de620.c
index 435415212..22a41cd04 100644
--- a/drivers/net/de620.c
+++ b/drivers/net/de620.c
@@ -834,13 +834,13 @@ int __init de620_probe(struct net_device *dev)
if ((checkbyte != 0xa5) || (read_eeprom(dev) != 0)) {
printk(" not identified in the printer port\n");
- return ENODEV;
+ return -ENODEV;
}
#if 0 /* Not yet */
if (check_region(dev->base_addr, 3)) {
printk(", port 0x%x busy\n", dev->base_addr);
- return EBUSY;
+ return -EBUSY;
}
#endif
request_region(dev->base_addr, 3, "de620");