PPC: Drop mv6446x_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: Stefan Roese <sr@denx.de>
This commit is contained in:
Marek Vasut
2012-03-02 22:39:32 +00:00
committed by Wolfgang Denk
parent 658c3b9eaf
commit 021f6038a2
5 changed files with 13 additions and 6 deletions

View File

@@ -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 mv6446x_eth_initialize(bd_t *);
#endif /* __EVB64360_ETH_H__ */

View File

@@ -851,3 +851,8 @@ void my_remap_gt_regs_bootm (u32 cur_loc, u32 new_loc)
!= temp);
}
int board_eth_init(bd_t *bis)
{
return mv6446x_eth_initialize(bis);
}