]> git.sur5r.net Git - u-boot/commitdiff
davinci: Fix Ethernet driver interface warning
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 21 May 2012 05:54:01 +0000 (05:54 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:14 +0000 (10:18 -0500)
Fixes:
davinci_emac.c: In function 'davinci_emac_initialize':
davinci_emac.c:796:12: warning: assignment from incompatible pointer type [enabled by default]

Tested on da850_am18xxevm

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
drivers/net/davinci_emac.c

index fbd0f1b7b58845cce5fb6e578b9bf44cff7127ce..e471d2ce3340166284125f977a4945dfd75af513 100644 (file)
@@ -637,7 +637,7 @@ static int tx_send_loop = 0;
  * positive number (number of bytes transmitted) or negative for error
  */
 static int davinci_eth_send_packet (struct eth_device *dev,
-                                       volatile void *packet, int length)
+                                       void *packet, int length)
 {
        int ret_status = -1;
        int index;