]> git.sur5r.net Git - u-boot/commitdiff
drivers/net/fm/eth.c: Fix compile warning
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 May 2012 07:56:15 +0000 (07:56 +0000)
committerJoe 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

index f7ed850c913a4f77748a1e8d316043eb5088ce2e..f34f4db6b605da1173df86f19a4c06a9182762cd 100644 (file)
@@ -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, volatile void *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;