mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-15 15:06:04 -04:00
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>
This commit is contained in:
parent
4ec4524892
commit
9d295177a4
@ -215,8 +215,7 @@ static int cs8900_recv(struct eth_device *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Send a data block via Ethernet. */
|
/* Send a data block via Ethernet. */
|
||||||
static int cs8900_send(struct eth_device *dev,
|
static int cs8900_send(struct eth_device *dev, void *packet, int length)
|
||||||
volatile void *packet, int length)
|
|
||||||
{
|
{
|
||||||
volatile u16 *addr;
|
volatile u16 *addr;
|
||||||
int tmo;
|
int tmo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user