From: Joe Hershberger Date: Mon, 21 May 2012 14:45:26 +0000 (+0000) Subject: drivers/net/enc28j60.c: Fix compile warning X-Git-Tag: v2012.07-rc1~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b58cab3429b0f6e343c8fc21b124aa80c6a02072;p=u-boot drivers/net/enc28j60.c: Fix compile warning Fix this: enc28j60.c: In function 'enc28j60_initialize': enc28j60.c:967:12: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index e2011aef4a..c55667c931 100644 --- a/drivers/net/enc28j60.c +++ b/drivers/net/enc28j60.c @@ -875,7 +875,7 @@ static int enc_recv(struct eth_device *dev) */ static int enc_send( struct eth_device *dev, - volatile void *packet, + void *packet, int length) { enc_dev_t *enc = dev->priv;