summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ice/ice_common.c
diff options
context:
space:
mode:
authorMichal Swiatkowski <michal.swiatkowski@linux.intel.com>2025-08-12 07:23:33 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-09-11 22:10:34 +0300
commit02f44dac8930dc7cc43aa3eba872ce35382f6332 (patch)
treecc60e512df6351903b4537df4f68d87096da89fd /drivers/net/ethernet/intel/ice/ice_common.c
parent2ab5eb4bf7b6c50e5ab346cd11de3d851dfd7ae6 (diff)
downloadlinux-02f44dac8930dc7cc43aa3eba872ce35382f6332.tar.xz
ice: prepare for moving file to libie
s/ice/libie There is no function for filling default descriptor in libie. Zero descriptor structure and set opcode without calling the function. Make functions that are caled only in ice_fwlog.c static. Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com> Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel) Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.c')
-rw-r--r--drivers/net/ethernet/intel/ice/ice_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_common.c b/drivers/net/ethernet/intel/ice/ice_common.c
index fd15d7385aaa..1baac0b74caf 100644
--- a/drivers/net/ethernet/intel/ice/ice_common.c
+++ b/drivers/net/ethernet/intel/ice/ice_common.c
@@ -995,7 +995,7 @@ static int __fwlog_send_cmd(void *priv, struct libie_aq_desc *desc, void *buf,
static int __fwlog_init(struct ice_hw *hw)
{
struct ice_pf *pf = hw->back;
- struct ice_fwlog_api api = {
+ struct libie_fwlog_api api = {
.pdev = pf->pdev,
.send_cmd = __fwlog_send_cmd,
.priv = hw,
@@ -1012,7 +1012,7 @@ static int __fwlog_init(struct ice_hw *hw)
api.debugfs_root = pf->ice_debugfs_pf;
- return ice_fwlog_init(&hw->fwlog, &api);
+ return libie_fwlog_init(&hw->fwlog, &api);
}
/**
@@ -1197,7 +1197,7 @@ static void __fwlog_deinit(struct ice_hw *hw)
return;
ice_debugfs_pf_deinit(hw->back);
- ice_fwlog_deinit(&hw->fwlog);
+ libie_fwlog_deinit(&hw->fwlog);
}
/**