Fix compile error caused by incorrect function return type 2
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
Signed-off-by TsiChung Liew <[email protected]>
--- board/idmr/mii.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
board/idmr/mii.c +1 -1
@@ -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
Wolfgang Denk
AppliedPATCH 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 voidmii_init(void)for idmr ColdFire platformSigned-off-by TsiChung Liew <[email protected]>--- 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_