提交 d1527b55 编写于 作者: J Joe Hershberger

drivers/net/rtl8169.c: Fix compile warning

Fix this:
rtl8169.c: In function 'rtl8169_initialize':
rtl8169.c:907:13: warning: assignment from incompatible pointer type
Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
上级 f92a151c
......@@ -464,7 +464,7 @@ static int rtl_recv(struct eth_device *dev)
/**************************************************************************
SEND - Transmit a frame
***************************************************************************/
static int rtl_send(struct eth_device *dev, volatile void *packet, int length)
static int rtl_send(struct eth_device *dev, void *packet, int length)
{
/* send the packet to destination */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册