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:
97796f7
)
drivers/net/fm/eth.c: Fix compile warning
author
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 07:56:15 +0000
(07:56 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Tue, 22 May 2012 18:41:47 +0000
(13:41 -0500)
Fix this:
eth.c: In function 'fm_eth_initialize':
eth.c:651:12: warning: assignment from incompatible pointer type
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fm/eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/fm/eth.c
b/drivers/net/fm/eth.c
index f7ed850c913a4f77748a1e8d316043eb5088ce2e..f34f4db6b605da1173df86f19a4c06a9182762cd 100644
(file)
--- a/
drivers/net/fm/eth.c
+++ b/
drivers/net/fm/eth.c
@@
-420,7
+420,7
@@
static void fm_eth_halt(struct eth_device *dev)
phy_shutdown(fm_eth->phydev);
}
-static int fm_eth_send(struct eth_device *dev, vo
latile vo
id *buf, int len)
+static int fm_eth_send(struct eth_device *dev, void *buf, int len)
{
struct fm_eth *fm_eth;
struct fm_port_global_pram *pram;