mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
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:
parent
bbcdefb343
commit
3f9eb617cb
1 changed files with 1 additions and 2 deletions
|
@ -1557,8 +1557,7 @@ get_speed:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int ppc_4xx_eth_send (struct eth_device *dev, volatile void *ptr,
|
static int ppc_4xx_eth_send(struct eth_device *dev, void *ptr, int len)
|
||||||
int len)
|
|
||||||
{
|
{
|
||||||
struct enet_frame *ef_ptr;
|
struct enet_frame *ef_ptr;
|
||||||
ulong time_start, time_now;
|
ulong time_start, time_now;
|
||||||
|
|
Loading…
Add table
Reference in a new issue