diff options
author | Tom Rini <trini@konsulko.com> | 2017-05-08 22:14:33 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-12 08:37:32 -0400 |
commit | 65a4771085e644c45a129dcc71eb3ab9f1bb24ca (patch) | |
tree | 68c8d50318ac5f91df82df756ffacd8f3fbb2370 /drivers | |
parent | 4201223de8e6bac403213ad57769dfa723db36e3 (diff) | |
download | u-boot-65a4771085e644c45a129dcc71eb3ab9f1bb24ca.zip u-boot-65a4771085e644c45a129dcc71eb3ab9f1bb24ca.tar.gz u-boot-65a4771085e644c45a129dcc71eb3ab9f1bb24ca.tar.bz2 |
net: uli526x: Fix unknown storage size error
The variable netdev_ethtool_ops is not referenced, drop it. However
with gcc-6 or later we fail to even compile as we do not have the
required struct definition in U-Boot.
Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/uli526x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index 47cdb85..d05ae9e 100644 --- a/drivers/net/uli526x.c +++ b/drivers/net/uli526x.c @@ -166,7 +166,6 @@ static int mode = 8; /* function declaration -- */ static int uli526x_start_xmit(struct eth_device *dev, void *packet, int length); -static const struct ethtool_ops netdev_ethtool_ops; static u16 read_srom_word(long, int); static void uli526x_descriptor_init(struct uli526x_board_info *, unsigned long); static void allocate_rx_buffer(struct uli526x_board_info *); |