mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
drivers/net/natsemi.c: Fix compile warning
Fix this: natsemi.c: In function 'natsemi_initialize': natsemi.c:338:13: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
e9df201848
commit
bf254f685c
1 changed files with 2 additions and 4 deletions
|
@ -237,8 +237,7 @@ static void natsemi_init_txd(struct eth_device *dev);
|
|||
static void natsemi_init_rxd(struct eth_device *dev);
|
||||
static void natsemi_set_rx_mode(struct eth_device *dev);
|
||||
static void natsemi_check_duplex(struct eth_device *dev);
|
||||
static int natsemi_send(struct eth_device *dev, volatile void *packet,
|
||||
int length);
|
||||
static int natsemi_send(struct eth_device *dev, void *packet, int length);
|
||||
static int natsemi_poll(struct eth_device *dev);
|
||||
static void natsemi_disable(struct eth_device *dev);
|
||||
|
||||
|
@ -754,8 +753,7 @@ natsemi_check_duplex(struct eth_device *dev)
|
|||
* Description: transmits a packet and waits for completion or timeout.
|
||||
*
|
||||
* Returns: void. */
|
||||
static int
|
||||
natsemi_send(struct eth_device *dev, volatile void *packet, int length)
|
||||
static int natsemi_send(struct eth_device *dev, void *packet, int length)
|
||||
{
|
||||
u32 i, status = 0;
|
||||
u32 tx_status = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue