diff options
author | Tom Rini <trini@konsulko.com> | 2025-05-21 16:51:22 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-02 17:26:16 -0600 |
commit | 824f8f52a1e44f6d281d3f89f23b3e85824a34fb (patch) | |
tree | 32a2db23d18ea92222282b076dc8e1245fb6797f /drivers/net/mscc_eswitch/serval_switch.c | |
parent | 2266595bf893edb07331ca8464738e0d4c82c129 (diff) |
global: Cleanup usage of "ETH_ALEN"
The value of "ETH_ALEN" is defined to 6 in <linux/if_ether.h>. This file
is included in <net.h>. In the places where we had ETH_ALEN but no
direct include of <net.h>, add <linux/if_ether.h>. In the places where
we had a custom name used, make use of ETH_ALEN instead.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/net/mscc_eswitch/serval_switch.c')
-rw-r--r-- | drivers/net/mscc_eswitch/serval_switch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/mscc_eswitch/serval_switch.c b/drivers/net/mscc_eswitch/serval_switch.c index 8eab41df99a..02f197aa339 100644 --- a/drivers/net/mscc_eswitch/serval_switch.c +++ b/drivers/net/mscc_eswitch/serval_switch.c @@ -111,7 +111,6 @@ #define CPU_PORT 11 #define INTERNAL_PORT_MSK 0xFF #define IFH_LEN 4 -#define ETH_ALEN 6 #define PGID_BROADCAST 13 #define PGID_UNICAST 14 |