mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01: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
1 changed files with 1 additions and 2 deletions
|
|
@ -657,8 +657,7 @@ static int smsc95xx_init(struct eth_device *eth, bd_t *bd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int smsc95xx_send(struct eth_device *eth, volatile void* packet,
|
||||
int length)
|
||||
static int smsc95xx_send(struct eth_device *eth, void* packet, int length)
|
||||
{
|
||||
struct ueth_data *dev = (struct ueth_data *)eth->priv;
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue