From d1527b55f5ab162f2d17600ffc2744c2ea39d356 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Tue, 22 May 2012 18:09:57 +0000 Subject: [PATCH] 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: Joe Hershberger --- drivers/net/rtl8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 1ad13bddd5..9864fd7b5c 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -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 */