Commit 6e758ef5 authored by Joe Hershberger's avatar Joe Hershberger

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: default avatarJoe Hershberger <>
Cc: Joe Hershberger <>
parent 7f9a8a67
......@@ -130,8 +130,7 @@ static u16 dnet_mdio_read(struct dnet_device *dnet, u8 reg)
return value;
static int dnet_send(struct eth_device *netdev, volatile void *packet,
int length)
static int dnet_send(struct eth_device *netdev, void *packet, int length)
struct dnet_device *dnet = to_dnet(netdev);
int i, wrsz;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment