From: TsiChung Liew Date: Fri, 1 Aug 2008 00:52:28 +0000 (-0500) Subject: Fix compile error caused by incorrect function return type X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=5c40548f01218360a1f1395198c50ff45f3035b5;p=u-boot.git 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 --- diff --git a/board/idmr/mii.c b/board/idmr/mii.c index f130e6e536..78a7028bcf 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) {