Skip to content
Snippets Groups Projects
Commit c2996086 authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Joe Hershberger
Browse files

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: default avatarAnatolij Gustschin <agust@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
parent 1b10d071
Branches
Tags
No related merge requests found
...@@ -452,7 +452,7 @@ static void mpc512x_fec_halt (struct eth_device *dev) ...@@ -452,7 +452,7 @@ 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)
{ {
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment