summaryrefslogtreecommitdiff
path: root/cpu/mips
diff options
context:
space:
mode:
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-10-27 15:22:33 +0900
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-11-17 18:54:16 +0900
commit4fbd0741b2b6441da10be93e10267122581b7079 (patch)
treedb3b33065dc02f7957b503fa84fa18b00cbc8575 /cpu/mips
parentf01320459736f156707425cf8112f98606301aa4 (diff)
[MIPS] au1x00_eth.c: Fixed a warning on pb1000 build.
au1x00_eth.c: In function 'au1x00_miiphy_write': au1x00_eth.c:139: warning: 'return' with no value, in function returning non-void Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Diffstat (limited to 'cpu/mips')
-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 23f2f94ea1c..d70c5fe9875 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;
}
}