summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpu/mips/au1x00_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mips/au1x00_eth.c b/cpu/mips/au1x00_eth.c
index 23f2f94..d70c5fe 100644
--- a/cpu/mips/au1x00_eth.c
+++ b/cpu/mips/au1x00_eth.c
@@ -136,7 +136,7 @@ int au1x00_miiphy_write(char *devname, unsigned char addr,
udelay(1000);
if (--timedout == 0) {
printf("au1x00_eth: miiphy_write busy timeout!!\n");
- return;
+ return -1;
}
}