]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
drivers/net/at91_emac.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 21 May 2012 14:45:19 +0000 (14:45 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:15 +0000 (10:18 -0500)
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>
drivers/net/at91_emac.c

index 483c831c05b42185fce1170f40ed938ccf642908..2fa6b686daf7e7241ddc95b99495362c79a1d1e8 100644 (file)
@@ -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;