aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_common.h
diff options
context:
space:
mode:
authorTony Nguyen <[email protected]>2022-12-15 21:36:37 +0000
committerTony Nguyen <[email protected]>2023-01-19 16:18:03 +0000
commit388740b3f63ddb01fa763b8525bec7c59004dd8a (patch)
tree9c80cbb9f2a6b7d5bfe25e22b4e4408f317e02bc /drivers/net/ethernet/intel/ice/ice_common.h
parentice: Explicitly return 0 (diff)
downloadkernel-388740b3f63ddb01fa763b8525bec7c59004dd8a.tar.gz
kernel-388740b3f63ddb01fa763b8525bec7c59004dd8a.zip
ice: Match parameter name for ice_cfg_phy_fc()
The parameter name in the function declaration and definition do not match; adjust the naming for consistency and to avoid confusion. Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_common.h b/drivers/net/ethernet/intel/ice/ice_common.h
index 22839c4f7247..98aa8d124730 100644
--- a/drivers/net/ethernet/intel/ice/ice_common.h
+++ b/drivers/net/ethernet/intel/ice/ice_common.h
@@ -122,7 +122,7 @@ ice_set_fc(struct ice_port_info *pi, u8 *aq_failures,
bool ena_auto_link_update);
int
ice_cfg_phy_fc(struct ice_port_info *pi, struct ice_aqc_set_phy_cfg_data *cfg,
- enum ice_fc_mode fc);
+ enum ice_fc_mode req_mode);
bool
ice_phy_caps_equals_cfg(struct ice_aqc_get_phy_caps_data *caps,
struct ice_aqc_set_phy_cfg_data *cfg);