From b58cab3429b0f6e343c8fc21b124aa80c6a02072 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Mon, 21 May 2012 14:45:26 +0000 Subject: 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 --- drivers/net/enc28j60.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index e2011ae..c55667c 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; -- cgit v1.1