From 9577501c6854de9356d8a0fc05e8d29d63a517e2 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Mon, 21 May 2012 14:45:19 +0000 Subject: [PATCH] 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 --- drivers/net/at91_emac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.25.1