mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
drivers/net/uli526x.c: Fix compile warning
Fix this: uli526x.c: In function 'uli526x_initialize': uli526x.c:243:13: warning: assignment from incompatible pointer type Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
e5c83f3304
commit
4b94215007
@ -168,8 +168,7 @@ static char buf_pool[TX_BUF_ALLOC * TX_DESC_CNT + 4];
|
|||||||
static int mode = 8;
|
static int mode = 8;
|
||||||
|
|
||||||
/* function declaration -- */
|
/* function declaration -- */
|
||||||
static int uli526x_start_xmit(struct eth_device *dev,
|
static int uli526x_start_xmit(struct eth_device *dev, void *packet, int length);
|
||||||
volatile void *packet, int length);
|
|
||||||
static const struct ethtool_ops netdev_ethtool_ops;
|
static const struct ethtool_ops netdev_ethtool_ops;
|
||||||
static u16 read_srom_word(long, int);
|
static u16 read_srom_word(long, int);
|
||||||
static void uli526x_descriptor_init(struct uli526x_board_info *, unsigned long);
|
static void uli526x_descriptor_init(struct uli526x_board_info *, unsigned long);
|
||||||
@ -443,8 +442,7 @@ static void uli526x_init(struct eth_device *dev)
|
|||||||
* Send a packet to media from the upper layer.
|
* Send a packet to media from the upper layer.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int uli526x_start_xmit(struct eth_device *dev,
|
static int uli526x_start_xmit(struct eth_device *dev, void *packet, int length)
|
||||||
volatile void *packet, int length)
|
|
||||||
{
|
{
|
||||||
struct uli526x_board_info *db = dev->priv;
|
struct uli526x_board_info *db = dev->priv;
|
||||||
struct tx_desc *txptr;
|
struct tx_desc *txptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user