drivers/net/ks8695eth.c: Fix compile warning

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>
This commit is contained in:
Joe Hershberger 2012-05-21 14:45:29 +00:00
parent 99ec772807
commit 78a7c17b74

View 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, static int ks8695_eth_send(struct eth_device *dev, void *packet, int len)
int len)
{ {
volatile struct ks8695_txdesc *dp; volatile struct ks8695_txdesc *dp;
static int next = 0; static int next = 0;