Skip to contentSkip to conversation

8xxx: fix warning: implicit declaration of function 'uec_standard_init'

PATCH New Wolfgang Denk 2 participants 3 messages Jul 18, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 8xxx: fix warning: implicit declaration of function 'uec_standard_init'

Commit 8e55258f created function uec_standard_init() to initialize all UEC interfaces for 83xx and 85xx but failed to provide a prototype for it.

---
 include/netdev.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/netdev.h +1 -0
index aed5c4c..17fdafb 100644
@@ -73,6 +73,7 @@ int scc_initialize(bd_t *bis);
 int skge_initialize(bd_t *bis);
 int tsi108_eth_initialize(bd_t *bis);
 int uec_initialize(int index);
+int uec_standard_init(bd_t *bis);
 int uli526x_initialize(bd_t *bis);
 int sh_eth_initialize(bd_t *bis);
 int dm9000_initialize(bd_t *bis);
Signature · 1 line
1.6.0.6
#1 lore raw

PATCH 1/1 8xxx: fix warning: implicit declaration of function 'uec_standard_init'

Quoted 3 lines · Wolfgang Denk

Commit 8e55258f created function uec_standard_init() to initialize all UEC interfaces for 83xx and 85xx but failed to provide a prototype for it.

Kumar sent a similar patch to fix this previously and was picked up by Ben FWIW:
http://www.mail-archive.com/u-boot at lists.denx.de/msg15797.html

Best,
Peter

#2 lore raw

PATCH 1/1 8xxx: fix warning: implicit declaration of function 'uec_standard_init'

Dear Peter Tyser,

Quoted 8 lines · In message <1247940820.13289.2.camel@ptyser-laptop> you wrote:
Quoted 3 lines · Wolfgang Denk

Commit 8e55258f created function uec_standard_init() to initialize all UEC interfaces for 83xx and 85xx but failed to provide a prototype for it.

Kumar sent a similar patch to fix this previously and was picked up by Ben FWIW:
http://www.mail-archive.com/u-boot at lists.denx.de/msg15797.html

Indeed - yet it didn't make into mainline yet, so I went ahead and fixed it.

Hope this is ok.

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I believe you find life such a problem because you  think  there  are
the  good  people  and the bad people. You're wrong, of course. There
are, always and only, the bad people, but some of them are  on  oppo-
site sides.                      - Terry Pratchett, _Guards! Guards!_