projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bccbe61
)
drivers/net/enc28j60.c: Fix compile warning
author
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 21 May 2012 14:45:26 +0000
(14:45 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:16 +0000
(10:18 -0500)
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>
drivers/net/enc28j60.c
patch
|
blob
|
history
diff --git
a/drivers/net/enc28j60.c
b/drivers/net/enc28j60.c
index e2011aef4aa41a12e7ac4df2d41eb10b78fb87c7..c55667c9312104a9c00b93a36095f19f492321b3 100644
(file)
--- 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,
- vo
latile vo
id *packet,
+ void *packet,
int length)
{
enc_dev_t *enc = dev->priv;