mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 02:08:00 +00:00
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>
This commit is contained in:
parent
2240d763e5
commit
dda5251037
13 changed files with 4 additions and 41 deletions
|
@ -14,6 +14,7 @@
|
|||
|
||||
#include <asm/cache.h>
|
||||
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
|
||||
#include <linux/if_ether.h>
|
||||
|
||||
#define DEBUG_LL_STATE 0 /* Link local state machine changes */
|
||||
#define DEBUG_DEV_PKT 0 /* Packets or info directed to the device */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue