diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-22 18:09:57 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-22 23:17:52 -0500 |
commit | d1527b55f5ab162f2d17600ffc2744c2ea39d356 (patch) | |
tree | 2f7db2d9411110e19e99b544679db1d3284a8a96 | |
parent | f92a151cd1610e0d78fb64181da90f7cae2e51e8 (diff) | |
download | u-boot-imx-d1527b55f5ab162f2d17600ffc2744c2ea39d356.zip u-boot-imx-d1527b55f5ab162f2d17600ffc2744c2ea39d356.tar.gz u-boot-imx-d1527b55f5ab162f2d17600ffc2744c2ea39d356.tar.bz2 |
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 <joe.hershberger@ni.com>
-rw-r--r-- | drivers/net/rtl8169.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index 1ad13bd..9864fd7 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 */ |