diff --git a/include/drv_types_linux.h b/include/drv_types_linux.h index 6264a4d..56435c8 100644 --- a/include/drv_types_linux.h +++ b/include/drv_types_linux.h @@ -17,10 +17,11 @@ #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)) /* Porting from linux kernel v5.15 48eab831ae8b9f7002a533fa4235eed63ea1f1a3 3f6cffb8604b537e3d7ea040d7f4368689638eaf*/ -static inline void eth_hw_addr_set(struct net_device *dev, const u8 *addr) +static inline void rtw_eth_hw_addr_set(struct net_device *dev, const u8 *addr) { memcpy(dev->dev_addr, addr, ETH_ALEN); } +#define eth_hw_addr_set rtw_eth_hw_addr_set #endif #endif