mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 17:55:05 +03:00
The functions eth_hw_addr_set() and dev_addr_mod() do not exist for Linux v5.14 and so compiling the marvell oak driver fails for Linux v5.14. Fix this by calling memcpy() instead of eth_hw_addr_set() and dev_addr_mod() for Linux v5.14. Note that both eth_hw_addr_set() and dev_addr_mod() internally call memcpy() and so this is equivalent. Bug 3820317 Change-Id: I4b49e031383adf62a55f1d01e8de2fcc0ad47862 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2875022 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
20 KiB
20 KiB