mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
drivers/net/smc911x.c: Fix GCC 4.6 warning
smc911x.c: In function 'smc911x_initialize': smc911x.c:288:12: warning: assignment from incompatible pointer type [enabled by default] Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
b86a475c1a
commit
fd89b61b81
1 changed files with 1 additions and 2 deletions
|
@ -161,8 +161,7 @@ static int smc911x_init(struct eth_device *dev, bd_t * bd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int smc911x_send(struct eth_device *dev,
|
||||
volatile void *packet, int length)
|
||||
static int smc911x_send(struct eth_device *dev, void *packet, int length)
|
||||
{
|
||||
u32 *data = (u32*)packet;
|
||||
u32 tmplen;
|
||||
|
|
Loading…
Reference in a new issue