mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
drivers/net/at91_emac.c: Fix compile warning
Fix this: at91_emac.c: In function 'at91emac_register': at91_emac.c:524:12: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
This commit is contained in:
parent
74e738e8cc
commit
9577501c68
1 changed files with 1 additions and 2 deletions
|
@ -415,8 +415,7 @@ static void at91emac_halt(struct eth_device *netdev)
|
|||
debug_cond(DEBUG_AT91EMAC, "halt MAC\n");
|
||||
}
|
||||
|
||||
static int at91emac_send(struct eth_device *netdev, volatile void *packet,
|
||||
int length)
|
||||
static int at91emac_send(struct eth_device *netdev, void *packet, int length)
|
||||
{
|
||||
at91_emac_t *emac;
|
||||
|
||||
|
|
Loading…
Reference in a new issue