net.h: Include linux/if_ether.h to avoid duplication
authorBin Meng <bmeng.cn@gmail.com>
Tue, 31 Jul 2018 09:55:22 +0000 (02:55 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:52 +0000 (12:28 -0500)
commitdda5251037008b3563ab0aaf443eb7be3213887c
tree2fbeb36907a2a50866cf0d1669c163f3aa88c5e0
parent2240d763e54028bfdd52e06b2b0cdba07e43f84f
net.h: Include linux/if_ether.h to avoid duplication

There are plenty of existing drivers that have macros like ETH_ALEN
defined in their own source files. Now that we imported the kernel's
if_ether.h to U-Boot we can reduce some duplication.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
13 files changed:
board/Synology/ds414/cmd_syno.c
drivers/net/dc2114x.c
drivers/net/eepro100.c
drivers/net/mvpp2.c
drivers/net/natsemi.c
drivers/net/ns8382x.c
drivers/net/rtl8139.c
drivers/net/rtl8169.c
drivers/usb/eth/lan7x.h
drivers/usb/gadget/ether.c
drivers/usb/gadget/rndis.c
include/net.h
include/usb_ether.h