mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
This commit is contained in:
parent
ab4860b255
commit
c37ea03117
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue