> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of 
> Aleksandr Loktionov
> Sent: Friday, April 10, 2026 12:49 AM
> To: [email protected]; Nguyen, Anthony L 
> <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>
> Cc: [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-next 8/10] ice: move 
> ice_phy_get_speed_eth56g() from ice_ptp_hw.c to ice_common.c
> 
> ice_phy_get_speed_eth56g() is currently a file-local (static) helper in 
> ice_ptp_hw.c. Future users outside that compilation unit require access to it.
> 
> Move the function to ice_common.c, add a declaration in ice_common.h, and 
> relocate the enum ice_eth56g_link_spd from ice_ptp_hw.h to ice_type.h so it 
> is visible to callers of the new exported function.
> 
> Suggested-by: Karol Kolacinski <[email protected]>
> Signed-off-by: Aleksandr Loktionov <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/ice_common.c | 45 +++++++++++++++++++++  
> drivers/net/ethernet/intel/ice/ice_common.h |  1 +  
> drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 45 ---------------------  
>  drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 13 ------
>  drivers/net/ethernet/intel/ice/ice_type.h   | 13 ++++++
>  5 files changed, 59 insertions(+), 58 deletions(-)

Tested-by: Alexander Nowlin <[email protected]>

Reply via email to