From e9df2018486a895ffe2020f6dbd37ae16141e2f8 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Tue, 22 May 2012 07:56:15 +0000 Subject: [PATCH] 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 --- drivers/net/fm/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index f7ed850c91..f34f4db6b6 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; -- 2.39.5