drivers/net/ks8695eth.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Mon, 21 May 2012 14:45:29 +0000 (14:45 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:16 +0000 (10:18 -0500)
Fix this:
ks8695eth.c: In function 'ks8695_eth_initialize':
ks8695eth.c:236: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/ks8695eth.c

index 8e988d1423df33d90e412556eab5d08dcaf73e3a..b4904b68e5e676c138f2eec723735a5974136e9a 100644 (file)
@@ -190,8 +190,7 @@ static int ks8695_eth_recv(struct eth_device *dev)
 
 /****************************************************************************/
 
-static int ks8695_eth_send(struct eth_device *dev, volatile void *packet,
-       int len)
+static int ks8695_eth_send(struct eth_device *dev, void *packet, int len)
 {
        volatile struct ks8695_txdesc *dp;
        static int next = 0;