summaryrefslogtreecommitdiff
path: root/board/Synology
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-07-31 02:55:22 -0700
committerJoe Hershberger <joe.hershberger@ni.com>2018-10-10 12:28:52 -0500
commitdda5251037008b3563ab0aaf443eb7be3213887c (patch)
tree2fbeb36907a2a50866cf0d1669c163f3aa88c5e0 /board/Synology
parent2240d763e54028bfdd52e06b2b0cdba07e43f84f (diff)
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>
Diffstat (limited to 'board/Synology')
-rw-r--r--board/Synology/ds414/cmd_syno.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/Synology/ds414/cmd_syno.c b/board/Synology/ds414/cmd_syno.c
index 34643ff538..59e6fe0310 100644
--- a/board/Synology/ds414/cmd_syno.c
+++ b/board/Synology/ds414/cmd_syno.c
@@ -14,7 +14,6 @@
#include <asm/io.h>
#include "../drivers/ddr/marvell/axp/ddr3_init.h"
-#define ETH_ALEN 6
#define ETHADDR_MAX 4
#define SYNO_SN_TAG "SN="
#define SYNO_CHKSUM_TAG "CHK="