From: Stephan Linz Date: Tue, 22 May 2012 12:18:11 +0000 (+0000) Subject: drivers/net/xilinx_axi_emac.c: Fix compile warning X-Git-Tag: v2025.01-rc5-pxa1908~17674^2~91 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=8d094e5f269fce3b81301c87ce4811da12b7871a;p=u-boot.git drivers/net/xilinx_axi_emac.c: Fix compile warning 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 --- diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 82e254b529..7854a04cae 100644 --- 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, volatile void *ptr, int len) +static int axiemac_send(struct eth_device *dev, void *ptr, int len) { struct axidma_priv *priv = dev->priv; u32 timeout;