diff options
author | Wei Fang <wei.fang@nxp.com> | 2025-07-11 17:16:39 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-14 17:14:32 -0700 |
commit | d39e1342d045e56d56756f91f93bc883fc9a5934 (patch) | |
tree | 59ee726bd17f52169aca2a5a11dfb24752834c9f /net/unix/af_unix.c | |
parent | 2d33dc6058157d91c5b76b7380bbc27d72595d2c (diff) |
net: fec: add fec_set_hw_mac_addr() helper function
In the current driver, the MAC address is set in both fec_restart() and
fec_set_mac_address(), so a generic helper function fec_set_hw_mac_addr()
is added to set the hardware MAC address to make the code more compact.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250711091639.1374411-4-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions