Skip to content
Snippets Groups Projects
Commit 9577501c authored by Joe Hershberger's avatar Joe Hershberger
Browse files

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: default avatarJoe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
parent 74e738e8
Branches
Tags
No related merge requests found
...@@ -415,8 +415,7 @@ static void at91emac_halt(struct eth_device *netdev) ...@@ -415,8 +415,7 @@ static void at91emac_halt(struct eth_device *netdev)
debug_cond(DEBUG_AT91EMAC, "halt MAC\n"); debug_cond(DEBUG_AT91EMAC, "halt MAC\n");
} }
static int at91emac_send(struct eth_device *netdev, volatile void *packet, static int at91emac_send(struct eth_device *netdev, void *packet, int length)
int length)
{ {
at91_emac_t *emac; at91_emac_t *emac;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment