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:
1ae6b9c
)
drivers/net/xilinx_axi_emac.c: Fix compile warning
author
Stephan Linz
<linz@li-pro.net>
Tue, 22 May 2012 12:18:11 +0000
(12:18 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 23 May 2012 04:17:52 +0000
(23:17 -0500)
Fix this:
xilinx_axi_emac.c: In function 'xilinx_axiemac_initialize':
xilinx_axi_emac.c:646: warning: assignment from incompatible pointer type
Signed-off-by: Stephan Linz <linz@li-pro.net>
drivers/net/xilinx_axi_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/xilinx_axi_emac.c
b/drivers/net/xilinx_axi_emac.c
index 82e254b5299a72f4252943ca1befe2c8c3bbbc82..7854a04cae1b7908b8bd43a480190915eab398aa 100644
(file)
--- a/
drivers/net/xilinx_axi_emac.c
+++ b/
drivers/net/xilinx_axi_emac.c
@@
-468,7
+468,7
@@
static int axiemac_init(struct eth_device *dev, bd_t * bis)
return 0;
}
-static int axiemac_send(struct eth_device *dev, vo
latile vo
id *ptr, int len)
+static int axiemac_send(struct eth_device *dev, void *ptr, int len)
{
struct axidma_priv *priv = dev->priv;
u32 timeout;