summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-07-31 19:52:28 -0500
committerWolfgang Denk <wd@denx.de>2008-08-01 12:33:10 +0200
commit5c40548f01218360a1f1395198c50ff45f3035b5 (patch)
treef583c674ced3b22c61086f579cf925a22d62af8a /board
parent4b50cd12a3b3c644153c4cf393f4a4c12289e5aa (diff)
downloadu-boot-imx-5c40548f01218360a1f1395198c50ff45f3035b5.zip
u-boot-imx-5c40548f01218360a1f1395198c50ff45f3035b5.tar.gz
u-boot-imx-5c40548f01218360a1f1395198c50ff45f3035b5.tar.bz2
Fix compile error caused by incorrect function return type
Rename int mii_init(void) to void mii_init(void) for idmr ColdFire platform Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/idmr/mii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/idmr/mii.c b/board/idmr/mii.c
index f130e6e..78a7028 100644
--- a/board/idmr/mii.c
+++ b/board/idmr/mii.c
@@ -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)
{