From: Joe Hershberger Date: Mon, 21 May 2012 14:45:21 +0000 (+0000) Subject: drivers/net/cs8900.c: Fix compile warning X-Git-Tag: v2012.07-rc1~120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9d295177a491c0975b2cf9da32a3007d2c4da7e0;p=oweals%2Fu-boot.git drivers/net/cs8900.c: Fix compile warning Fix this: cs8900.c: In function 'cs8900_initialize': cs8900.c:326:12: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger Cc Joe Hershberger --- diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index e04a784a4b..6aaa0cf49f 100644 --- a/drivers/net/cs8900.c +++ b/drivers/net/cs8900.c @@ -215,8 +215,7 @@ static int cs8900_recv(struct eth_device *dev) } /* Send a data block via Ethernet. */ -static int cs8900_send(struct eth_device *dev, - volatile void *packet, int length) +static int cs8900_send(struct eth_device *dev, void *packet, int length) { volatile u16 *addr; int tmo;