mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-24 21:50:30 +09:00
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>
This commit is contained in:
parent
97796f7184
commit
e9df201848
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user