From: Joe Hershberger Date: Mon, 21 May 2012 14:45:29 +0000 (+0000) Subject: drivers/net/ks8695eth.c: Fix compile warning X-Git-Tag: v2012.07-rc1~112 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=78a7c17b740c0ff5c7e6f96b5961f5721eed7a59;p=u-boot 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 --- 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;