Skip to content

Commit 02f44da

Browse files
Michal Swiatkowskianguy11
authored andcommitted
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>
1 parent 2ab5eb4 commit 02f44da

File tree

6 files changed

+359
-356
lines changed

6 files changed

+359
-356
lines changed

drivers/net/ethernet/intel/ice/ice_common.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ static int __fwlog_send_cmd(void *priv, struct libie_aq_desc *desc, void *buf,
995995
static int __fwlog_init(struct ice_hw *hw)
996996
{
997997
struct ice_pf *pf = hw->back;
998-
struct ice_fwlog_api api = {
998+
struct libie_fwlog_api api = {
999999
.pdev = pf->pdev,
10001000
.send_cmd = __fwlog_send_cmd,
10011001
.priv = hw,
@@ -1012,7 +1012,7 @@ static int __fwlog_init(struct ice_hw *hw)
10121012

10131013
api.debugfs_root = pf->ice_debugfs_pf;
10141014

1015-
return ice_fwlog_init(&hw->fwlog, &api);
1015+
return libie_fwlog_init(&hw->fwlog, &api);
10161016
}
10171017

10181018
/**
@@ -1197,7 +1197,7 @@ static void __fwlog_deinit(struct ice_hw *hw)
11971197
return;
11981198

11991199
ice_debugfs_pf_deinit(hw->back);
1200-
ice_fwlog_deinit(&hw->fwlog);
1200+
libie_fwlog_deinit(&hw->fwlog);
12011201
}
12021202

12031203
/**

0 commit comments

Comments
 (0)