global: Cleanup usage of "ETH_ALEN"
authorTom Rini <trini@konsulko.com>
Wed, 21 May 2025 22:51:22 +0000 (16:51 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jun 2025 23:26:16 +0000 (17:26 -0600)
commit824f8f52a1e44f6d281d3f89f23b3e85824a34fb
tree32a2db23d18ea92222282b076dc8e1245fb6797f
parent2266595bf893edb07331ca8464738e0d4c82c129
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>
12 files changed:
arch/arm/mach-tegra/dt-setup.c
board/CZ.NIC/turris_omnia/turris_omnia.c
board/Marvell/mvebu_armada-37xx/board.c
board/Synology/common/legacy.h
board/bosch/shc/board.h
board/ti/common/board_detect.h
drivers/net/mscc_eswitch/jr2_switch.c
drivers/net/mscc_eswitch/luton_switch.c
drivers/net/mscc_eswitch/ocelot_switch.c
drivers/net/mscc_eswitch/serval_switch.c
drivers/net/mscc_eswitch/servalt_switch.c
drivers/virtio/virtio_net.h