[U-Boot-Users] ColdFire: Another build error - mii_init() update

Liew Tsi Chung-r5aahp Tsi-chung.Liew at freescale.com
Fri Sep 14 01:06:05 CEST 2007


Another update. Thanks!

Regards,
TsiChung


>From 5182f24c723d61cbce237d4e35216ad1a2a5bdc4 Mon Sep 17 00:00:00 2001
From: TsiChungLiew <Tsi-Chung.Liew at freescale.com>
Date: Thu, 13 Sep 2007 10:28:06 -0500
Subject: [PATCH] ColdFire: Update mii function

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew at freescale.com>
---
 board/freescale/m5235evb/mii.c  |    2 +-
 board/freescale/m5329evb/mii.c  |    2 +-
 board/freescale/m54455evb/mii.c |    2 +-
 board/m5271evb/mii.c            |    2 +-
 board/m5272c3/mii.c             |    2 +-
 board/m5282evb/mii.c            |    2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/board/freescale/m5235evb/mii.c
b/board/freescale/m5235evb/mii.c
index 58fabdf..1fd4d99 100644
--- a/board/freescale/m5235evb/mii.c
+++ b/board/freescale/m5235evb/mii.c
@@ -204,7 +204,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)
 {
diff --git a/board/freescale/m5329evb/mii.c
b/board/freescale/m5329evb/mii.c
index 31f1510..8f6abf3 100644
--- a/board/freescale/m5329evb/mii.c
+++ b/board/freescale/m5329evb/mii.c
@@ -203,7 +203,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)
 {
diff --git a/board/freescale/m54455evb/mii.c
b/board/freescale/m54455evb/mii.c
index c067183..7a59aa0 100644
--- a/board/freescale/m54455evb/mii.c
+++ b/board/freescale/m54455evb/mii.c
@@ -221,7 +221,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)
 {
diff --git a/board/m5271evb/mii.c b/board/m5271evb/mii.c
index f6c63c3..3830ce7 100644
--- a/board/m5271evb/mii.c
+++ b/board/m5271evb/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)
 {
diff --git a/board/m5272c3/mii.c b/board/m5272c3/mii.c
index fadcbb3..0ecc44a 100644
--- a/board/m5272c3/mii.c
+++ b/board/m5272c3/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)
 {
diff --git a/board/m5282evb/mii.c b/board/m5282evb/mii.c
index ebd3ed9..d7c6d1f 100644
--- a/board/m5282evb/mii.c
+++ b/board/m5282evb/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)
 {
-- 
1.5.2




More information about the U-Boot mailing list