Fix compile error caused by incorrect function return type
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>
Fri, 1 Aug 2008 00:52:28 +0000 (19:52 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 1 Aug 2008 10:33:10 +0000 (12:33 +0200)
Rename int mii_init(void) to void mii_init(void) for idmr
ColdFire platform

Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
board/idmr/mii.c

index f130e6e5368c09697235041bea2052fa92d372f2..78a7028bcfae36cff2240b198d0312d698e8d3d8 100644 (file)
@@ -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)
 {