aboutsummaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorMarek Vasut2012-03-02 22:39:31 +0000
committerWolfgang Denk2012-03-06 21:13:22 +0100
commit658c3b9eafd0167fd150f129c0720eb305efc225 (patch)
tree3a9e2fc5deb5db12ba386a797ff791fcf703bd0a /net/eth.c
parent4c12eeb8b55483e48ef98b8a480e2bbacc9f210d (diff)
PPC: Drop mv6436x_eth_initialize() from net/eth.c
This function was defined as an extern in net/eth.c, drop that and use standard means of calling it. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/eth.c b/net/eth.c
index 3fb5fb68570..a5780c5462e 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -81,7 +81,6 @@ static int __def_eth_init(bd_t *bis)
int cpu_eth_init(bd_t *bis) __attribute__((weak, alias("__def_eth_init")));
int board_eth_init(bd_t *bis) __attribute__((weak, alias("__def_eth_init")));
-extern int mv6436x_eth_initialize(bd_t *);
extern int mv6446x_eth_initialize(bd_t *);
#ifdef CONFIG_API
@@ -281,9 +280,6 @@ int eth_initialize(bd_t *bis)
} else
printf("Net Initialization Skipped\n");
-#if defined(CONFIG_DB64360) || defined(CONFIG_CPCI750)
- mv6436x_eth_initialize(bis);
-#endif
#if defined(CONFIG_DB64460) || defined(CONFIG_P3Mx)
mv6446x_eth_initialize(bis);
#endif