mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
drivers/net/smc91111.c: Fix compile warning
Fix this: smc91111.c: In function 'smc91111_initialize': smc91111.c:1363: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
9d9a89be3a
commit
9f09864003
1 changed files with 1 additions and 2 deletions
|
@ -426,8 +426,7 @@ static void smc_halt(struct eth_device *dev)
|
|||
. Enable the transmit interrupt, so I know if it failed
|
||||
. Free the kernel data if I actually sent it.
|
||||
*/
|
||||
static int smc_send(struct eth_device *dev, volatile void *packet,
|
||||
int packet_length)
|
||||
static int smc_send(struct eth_device *dev, void *packet, int packet_length)
|
||||
{
|
||||
byte packet_no;
|
||||
byte *buf;
|
||||
|
|
Loading…
Add table
Reference in a new issue