From 8d094e5f269fce3b81301c87ce4811da12b7871a Mon Sep 17 00:00:00 2001 From: Stephan Linz Date: Tue, 22 May 2012 12:18:11 +0000 Subject: [PATCH] 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 --- drivers/net/xilinx_axi_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1