From: Joe Hershberger Date: Mon, 21 May 2012 14:45:19 +0000 (+0000) Subject: drivers/net/at91_emac.c: Fix compile warning X-Git-Tag: v2012.07-rc1~122 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9577501c6854de9356d8a0fc05e8d29d63a517e2;p=oweals%2Fu-boot.git 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 Cc: Joe Hershberger --- diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c index 483c831c05..2fa6b686da 100644 --- a/drivers/net/at91_emac.c +++ b/drivers/net/at91_emac.c @@ -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;