]> git.sur5r.net Git - u-boot/commitdiff
[MIPS] au1x00_eth.c: Fixed a warning on pb1000 build.
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 27 Oct 2007 06:22:33 +0000 (15:22 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 17 Nov 2007 09:54:16 +0000 (18:54 +0900)
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>
cpu/mips/au1x00_eth.c

index 23f2f94ea1ca20fd27575d83fd5087144f5a564b..d70c5fe9875cf4984e76876790a40aa26c541798 100644 (file)
@@ -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;
                }
        }