diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-07-09 15:14:25 -0500 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2008-07-11 10:45:58 -0600 |
commit | c37ea031175b807c54e6bad9b270e9bede6c0078 (patch) | |
tree | a12119856a68cf53fb18e431cf828261e9a29d8e /board/BuS/EB+MCF-EV123/mii.c | |
parent | ab4860b255239dbaecccdd002c8d11f4ef54dd75 (diff) | |
download | u-boot-imx-c37ea031175b807c54e6bad9b270e9bede6c0078.zip u-boot-imx-c37ea031175b807c54e6bad9b270e9bede6c0078.tar.gz u-boot-imx-c37ea031175b807c54e6bad9b270e9bede6c0078.tar.bz2 |
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>
Diffstat (limited to 'board/BuS/EB+MCF-EV123/mii.c')
-rw-r--r-- | board/BuS/EB+MCF-EV123/mii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/BuS/EB+MCF-EV123/mii.c b/board/BuS/EB+MCF-EV123/mii.c index 3ea20a6..8ae2ec6 100644 --- a/board/BuS/EB+MCF-EV123/mii.c +++ b/board/BuS/EB+MCF-EV123/mii.c @@ -201,7 +201,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) { |