[U-Boot] [PATCH] drivers/net/at91_emac.c: Fix compile warning
Joe Hershberger
joe.hershberger at ni.com
Tue May 22 02:45:19 CEST 2012
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 at ni.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
---
drivers/net/at91_emac.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c
index 483c831..2fa6b68 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;
--
1.6.0.2
More information about the U-Boot
mailing list