]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
[MIPS] au1x00_eth.c: Fix au1x00_miiphy_{read,write} build error
authorShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 27 Oct 2007 06:00:25 +0000 (15:00 +0900)
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
Sat, 17 Nov 2007 09:54:16 +0000 (18:54 +0900)
commitf01320459736f156707425cf8112f98606301aa4
tree0b2aac70d6ab49cc8c85779a06a8a485b13ae61b
parentb09258c5393edd1087c5f39ae68338f16b49f8b3
[MIPS] au1x00_eth.c: Fix au1x00_miiphy_{read,write} build error

au1x00_eth.c: In function 'au1x00_enet_initialize':
au1x00_eth.c:246: error: 'au1x00_miiphy_read' undeclared (first use in this function)
au1x00_eth.c:246: error: (Each undeclared identifier is reported only once
au1x00_eth.c:246: error: for each function it appears in.)
au1x00_eth.c:246: error: 'au1x00_miiphy_write' undeclared (first use in this function)
au1x00_eth.c: In function 'au1x00_miiphy_write':
au1x00_eth.c:298: warning: 'return' with no value, in function returning non-void
make[1]: *** [au1x00_eth.o] Error 1

Fixed by moving these two functions forward.

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
cpu/mips/au1x00_eth.c