drivers/net/mpc512x_fec.c: Fix build warning

Fix:
mpc512x_fec.c: In function 'mpc512x_fec_initialize':
mpc512x_fec.c:634: warning: assignment from incompatible pointer type

Tested on mpc5121ads board using tftp and nfs commands.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
This commit is contained in:
Anatolij Gustschin 2012-05-21 09:13:52 +00:00 committed by Joe Hershberger
parent 1b10d0717a
commit c2996086c2

View File

@ -452,8 +452,8 @@ static void mpc512x_fec_halt (struct eth_device *dev)
/********************************************************************/ /********************************************************************/
static int mpc512x_fec_send (struct eth_device *dev, volatile void *eth_data, static int mpc512x_fec_send(struct eth_device *dev, void *eth_data,
int data_length) int data_length)
{ {
/* /*
* This routine transmits one frame. This routine only accepts * This routine transmits one frame. This routine only accepts