mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
drivers/net/e1000.c: Fix compile warning
Fix this: e1000.c: In function 'e1000_initialize': e1000.c:5264:13: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
9aabb2f88b
commit
97796f7184
1 changed files with 2 additions and 3 deletions
|
|
@ -5031,10 +5031,9 @@ e1000_poll(struct eth_device *nic)
|
|||
/**************************************************************************
|
||||
TRANSMIT - Transmit a frame
|
||||
***************************************************************************/
|
||||
static int
|
||||
e1000_transmit(struct eth_device *nic, volatile void *packet, int length)
|
||||
static int e1000_transmit(struct eth_device *nic, void *packet, int length)
|
||||
{
|
||||
void * nv_packet = (void *)packet;
|
||||
void *nv_packet = (void *)packet;
|
||||
struct e1000_hw *hw = nic->priv;
|
||||
struct e1000_tx_desc *txp;
|
||||
int i = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue