mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 09:00:45 +09:00
drivers/net/ks8695eth.c: Fix compile warning
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@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com>
This commit is contained in:
parent
99ec772807
commit
78a7c17b74
@ -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,
|
static int ks8695_eth_send(struct eth_device *dev, void *packet, int len)
|
||||||
int len)
|
|
||||||
{
|
{
|
||||||
volatile struct ks8695_txdesc *dp;
|
volatile struct ks8695_txdesc *dp;
|
||||||
static int next = 0;
|
static int next = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user