mirror of
https://xff.cz/git/u-boot/
synced 2025-09-07 19:52:15 +02:00
drivers/net/dnet.c: Fix compile warning
Fix this: dnet.c: In function 'dnet_eth_initialize': dnet.c:380:15: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
This commit is contained in:
@@ -130,8 +130,7 @@ static u16 dnet_mdio_read(struct dnet_device *dnet, u8 reg)
|
|||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int dnet_send(struct eth_device *netdev, volatile void *packet,
|
static int dnet_send(struct eth_device *netdev, void *packet, int length)
|
||||||
int length)
|
|
||||||
{
|
{
|
||||||
struct dnet_device *dnet = to_dnet(netdev);
|
struct dnet_device *dnet = to_dnet(netdev);
|
||||||
int i, wrsz;
|
int i, wrsz;
|
||||||
|
Reference in New Issue
Block a user