summaryrefslogtreecommitdiff
path: root/drivers/net/cs8900.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-21 14:45:21 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-22 10:18:15 -0500
commit9d295177a491c0975b2cf9da32a3007d2c4da7e0 (patch)
treebbb0d21b7fb8a4b6032f5bec2e6932b74a276975 /drivers/net/cs8900.c
parent4ec45248929d9a81ee4c800b02da454f11326dff (diff)
downloadu-boot-imx-9d295177a491c0975b2cf9da32a3007d2c4da7e0.zip
u-boot-imx-9d295177a491c0975b2cf9da32a3007d2c4da7e0.tar.gz
u-boot-imx-9d295177a491c0975b2cf9da32a3007d2c4da7e0.tar.bz2
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 <joe.hershberger@ni.com> Cc Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'drivers/net/cs8900.c')
-rw-r--r--drivers/net/cs8900.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c
index e04a784..6aaa0cf 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;