From 658c3b9eafd0167fd150f129c0720eb305efc225 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 2 Mar 2012 22:39:31 +0000 Subject: 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 Cc: Reinhard Arlt --- board/esd/cpci750/cpci750.c | 5 +++++ board/esd/cpci750/eth.h | 1 + 2 files changed, 6 insertions(+) (limited to 'board/esd') diff --git a/board/esd/cpci750/cpci750.c b/board/esd/cpci750/cpci750.c index 08311c96305..98051fb3fbe 100644 --- a/board/esd/cpci750/cpci750.c +++ b/board/esd/cpci750/cpci750.c @@ -1101,3 +1101,8 @@ U_BOOT_CMD( pldver, 1, 1, do_pldver, "Show PLD version", "Show PLD version)"); + +int board_eth_init(bd_t *bis) +{ + return mv6436x_eth_initialize(bis); +} diff --git a/board/esd/cpci750/eth.h b/board/esd/cpci750/eth.h index aab32d2a5af..6fbfdfea08c 100644 --- a/board/esd/cpci750/eth.h +++ b/board/esd/cpci750/eth.h @@ -39,5 +39,6 @@ int db64360_eth0_transmit(unsigned int s, volatile char *p); void db64360_eth0_disable(void); bool network_start(bd_t *bis); +int mv6436x_eth_initialize(bd_t *); #endif /* __EVB64360_ETH_H__ */ -- cgit v1.2.3