drivers/net/xilinx_axi_emac.c: Fix compile warning
authorStephan Linz <linz@li-pro.net>
Tue, 22 May 2012 12:18:11 +0000 (12:18 +0000)
committerJoe 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

index 82e254b5299a72f4252943ca1befe2c8c3bbbc82..7854a04cae1b7908b8bd43a480190915eab398aa 100644 (file)
@@ -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;