From 78a7c17b740c0ff5c7e6f96b5961f5721eed7a59 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Mon, 21 May 2012 14:45:29 +0000 Subject: [PATCH] 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 Cc: Joe Hershberger --- drivers/net/ks8695eth.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ks8695eth.c b/drivers/net/ks8695eth.c index 8e988d1423..b4904b68e5 100644 --- a/drivers/net/ks8695eth.c +++ b/drivers/net/ks8695eth.c @@ -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; -- 2.39.5