]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers/net/rtl8169.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 18:09:57 +0000 (18:09 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 23 May 2012 04:17:52 +0000 (23:17 -0500)
Fix this:
rtl8169.c: In function 'rtl8169_initialize':
rtl8169.c:907:13: warning: assignment from incompatible pointer type

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

index 1ad13bddd5a9778bfa6143a9ac5a1fe713acd332..9864fd7b5c81e435955483dab1b37671bcb27fdb 100644 (file)
@@ -464,7 +464,7 @@ static int rtl_recv(struct eth_device *dev)
 /**************************************************************************
 SEND - Transmit a frame
 ***************************************************************************/
-static int rtl_send(struct eth_device *dev, volatile void *packet, int length)
+static int rtl_send(struct eth_device *dev, void *packet, int length)
 {
        /* send the packet to destination */