Skip to contentSkip to conversation

Fix compile error caused by incorrect function return type 2

PATCH New Tsi-Chung Liew 2 participants 2 messages Aug 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compile error caused by incorrect function return type 2

From: TsiChung Liew <[email protected]>

Rename int mii_init(void) to void mii_init(void) for idmr ColdFire platform

---
 board/idmr/mii.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/idmr/mii.c +1 -1
index f130e6e..78a7028 100644
@@ -200,7 +200,7 @@ int mii_discover_phy(struct eth_device *dev)
 }
 #endif				/* CFG_DISCOVER_PHY */
 
-int mii_init(void) __attribute__((weak,alias("__mii_init")));
+void mii_init(void) __attribute__((weak,alias("__mii_init")));
 
 void __mii_init(void)
 {
Signature · 1 line
1.5.6.4
#1 lore raw

PATCH 1/1 Fix compile error caused by incorrect function return type 2

Quoted 9 lines · In message <[email protected]> you…

From: TsiChung Liew <[email protected]>

Rename int mii_init(void) to void mii_init(void) for idmr ColdFire platform

---
 board/idmr/mii.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 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
Drun'? 'm not drun'! You woudn' dare call m' drun' if I was sober!
                                     - Terry Pratchett, _Men at Arms_