[U-Boot] [PATCH] drivers/net/ks8695eth.c: Fix compile warning
Joe Hershberger
joe.hershberger at ni.com
Tue May 22 02:45:29 CEST 2012
Fix this:
ks8695eth.c: In function 'ks8695_eth_initialize':
ks8695eth.c:236:12: warning: assignment from incompatible pointer type
Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
---
drivers/net/ks8695eth.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ks8695eth.c b/drivers/net/ks8695eth.c
index 8e988d1..b4904b6 100644
--- a/drivers/net/ks8695eth.c
+++ b/drivers/net/ks8695eth.c
@@ -190,8 +190,7 @@ static int ks8695_eth_recv(struct eth_device *dev)
/****************************************************************************/
-static int ks8695_eth_send(struct eth_device *dev, volatile void *packet,
- int len)
+static int ks8695_eth_send(struct eth_device *dev, void *packet, int len)
{
volatile struct ks8695_txdesc *dp;
static int next = 0;
--
1.6.0.2
More information about the U-Boot
mailing list