summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:19 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:15 -0500
commit9577501c6854de9356d8a0fc05e8d29d63a517e2 (patch)
tree07d8d247a0d1586a3e44179f3f8a999b526f508e /drivers
parent74e738e8cc3d48cfc6c330c8a2b083c105cfd13d (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/at91_emac.c3
1 files changed, 1 insertions, 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;