summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-22 07:56:15 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 13:41:47 -0500
commite9df2018486a895ffe2020f6dbd37ae16141e2f8 (patch)
treeafa3bdecdb16c975f15719e3aadf8070d7cf124e /drivers
parent97796f718488ac104a5d74ceb7894582c1869b2b (diff)
downloadu-boot-imx-e9df2018486a895ffe2020f6dbd37ae16141e2f8.zip
u-boot-imx-e9df2018486a895ffe2020f6dbd37ae16141e2f8.tar.gz
u-boot-imx-e9df2018486a895ffe2020f6dbd37ae16141e2f8.tar.bz2
drivers/net/fm/eth.c: Fix compile warning
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fm/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c
index f7ed850..f34f4db 100644
--- a/drivers/net/fm/eth.c
+++ b/drivers/net/fm/eth.c
@@ -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;