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:
7f9a8a6
)
drivers/net/dnet.c: Fix compile warning
author
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 21 May 2012 14:45:24 +0000
(14:45 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 15:18:15 +0000
(10:18 -0500)
Fix this:
dnet.c: In function 'dnet_eth_initialize':
dnet.c:380:15: warning: assignment from incompatible pointer type
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
drivers/net/dnet.c
patch
|
blob
|
history
diff --git
a/drivers/net/dnet.c
b/drivers/net/dnet.c
index 15d0a6e7410ec5b5a2338f978f26c0415d99af8a..944a0c046f7a9214b0e405cf91465029d7fbe353 100644
(file)
--- a/
drivers/net/dnet.c
+++ b/
drivers/net/dnet.c
@@
-130,8
+130,7
@@
static u16 dnet_mdio_read(struct dnet_device *dnet, u8 reg)
return value;
}
-static int dnet_send(struct eth_device *netdev, volatile void *packet,
- int length)
+static int dnet_send(struct eth_device *netdev, void *packet, int length)
{
struct dnet_device *dnet = to_dnet(netdev);
int i, wrsz;