mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 03:58:18 -04:00
drivers/usb/eth/smsc95xx.c: Fix GCC 4.6 warning
Fix: smsc95xx.c: In function 'smsc95xx_eth_get_info': smsc95xx.c:869:12: warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
fd89b61b81
commit
92ec210d31
@ -657,8 +657,7 @@ static int smsc95xx_init(struct eth_device *eth, bd_t *bd)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int smsc95xx_send(struct eth_device *eth, volatile void* packet,
|
static int smsc95xx_send(struct eth_device *eth, void* packet, int length)
|
||||||
int length)
|
|
||||||
{
|
{
|
||||||
struct ueth_data *dev = (struct ueth_data *)eth->priv;
|
struct ueth_data *dev = (struct ueth_data *)eth->priv;
|
||||||
int err;
|
int err;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user