summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTsiChungLiew <Tsi-Chung.Liew@freescale.com>2007-08-05 03:30:44 -0500
committerStefan Roese <sr@denx.de>2007-08-08 09:47:10 +0200
commit9e737d8476e7d6a596d16caaf6a3853a9a1190a2 (patch)
tree67aa82caa5daf70c8e76ef75e4b4d1ecc5a5d656 /board
parent9998bd37ead85e93953559720710d3b0685c81e6 (diff)
downloadu-boot-imx-9e737d8476e7d6a596d16caaf6a3853a9a1190a2.zip
u-boot-imx-9e737d8476e7d6a596d16caaf6a3853a9a1190a2.tar.gz
u-boot-imx-9e737d8476e7d6a596d16caaf6a3853a9a1190a2.tar.bz2
Declared attributes of void __mii_init(void) as an alias for int mii_init(void)
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/m5329evb/mii.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/m5329evb/mii.c b/board/freescale/m5329evb/mii.c
index 691b144..68dc04f 100644
--- a/board/freescale/m5329evb/mii.c
+++ b/board/freescale/m5329evb/mii.c
@@ -203,7 +203,9 @@ int mii_discover_phy(struct eth_device *dev)
}
#endif /* CFG_DISCOVER_PHY */
-void mii_init(void)
+int mii_init(void) __attribute__((weak,alias("__mii_init")));
+
+void __mii_init(void)
{
volatile fec_t *fecp;
struct fec_info_s *info;