diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-21 14:45:26 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-22 15:18:16 (GMT) |
commit | b58cab3429b0f6e343c8fc21b124aa80c6a02072 (patch) | |
tree | b29e2d17bd578ddb90cfb567cb64fe3f4d0cdf5d /drivers/net/enc28j60.c | |
parent | bccbe619b1138c801a4a789dc30c265c7a34dbc5 (diff) | |
download | u-boot-fsl-qoriq-b58cab3429b0f6e343c8fc21b124aa80c6a02072.tar.xz |
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.c | 2 |
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; |