Commit c37ea031175b807c54e6bad9b270e9bede6c0078

Authored by TsiChung Liew
Committed by John Rigby
1 parent ab4860b255

Fix compile error caused by incorrect function return type

Rename int mii_init(void) to void mii_init(void)

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

board/BuS/EB+MCF-EV123/mii.c
... ... @@ -201,7 +201,7 @@
201 201 }
202 202 #endif /* CFG_DISCOVER_PHY */
203 203  
204   -int mii_init(void) __attribute__((weak,alias("__mii_init")));
  204 +void mii_init(void) __attribute__((weak,alias("__mii_init")));
205 205  
206 206 void __mii_init(void)
207 207 {
board/cobra5272/mii.c
... ... @@ -200,7 +200,7 @@
200 200 }
201 201 #endif /* CFG_DISCOVER_PHY */
202 202  
203   -int mii_init(void) __attribute__((weak,alias("__mii_init")));
  203 +void mii_init(void) __attribute__((weak,alias("__mii_init")));
204 204  
205 205 void __mii_init(void)
206 206 {