drivers/net/4xx_enet.c: Fix build warning

Fix:
4xx_enet.c: In function 'ppc_4xx_eth_initialize':
4xx_enet.c:2029: warning: assignment from incompatible pointer type

Tested on sequoia board.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Tested-by: Anatolij Gustschin <agust@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
This commit is contained in:
Anatolij Gustschin 2012-05-21 10:48:18 +00:00 committed by Joe Hershberger
parent bbcdefb343
commit 3f9eb617cb
1 changed files with 1 additions and 2 deletions

View File

@ -1557,8 +1557,7 @@ get_speed:
}
static int ppc_4xx_eth_send (struct eth_device *dev, volatile void *ptr,
int len)
static int ppc_4xx_eth_send(struct eth_device *dev, void *ptr, int len)
{
struct enet_frame *ef_ptr;
ulong time_start, time_now;