summaryrefslogtreecommitdiff
path: root/drivers/net/enc28j60.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:26 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:16 -0500
commitb58cab3429b0f6e343c8fc21b124aa80c6a02072 (patch)
treeb29e2d17bd578ddb90cfb567cb64fe3f4d0cdf5d /drivers/net/enc28j60.c
parentbccbe619b1138c801a4a789dc30c265c7a34dbc5 (diff)
downloadu-boot-imx-b58cab3429b0f6e343c8fc21b124aa80c6a02072.zip
u-boot-imx-b58cab3429b0f6e343c8fc21b124aa80c6a02072.tar.gz
u-boot-imx-b58cab3429b0f6e343c8fc21b124aa80c6a02072.tar.bz2
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 <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers/net/enc28j60.c')
-rw-r--r--drivers/net/enc28j60.c2
1 files changed, 1 insertions, 1 deletions
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;